]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
xen: add __exit to module_exit() handlers
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 10:14:18 +0000 (10:14 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 10:14:18 +0000 (10:14 +0000)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/balloon/balloon.c
drivers/xen/blkfront/blkfront.c
drivers/xen/core/xen_sysfs.c
drivers/xen/evtchn/evtchn.c

index 0b75faf8c20162748527c8e603a30b7b4db58b3e..ee33f61bc3b4571c22a9cd21211e699cdfc56aa8 100644 (file)
@@ -527,7 +527,7 @@ static int __init balloon_init(void)
 
 subsys_initcall(balloon_init);
 
-static void balloon_exit(void) 
+static void __exit balloon_exit(void)
 {
     /* XXX - release balloon here */
     return; 
index 31dfa9b2f0ae89b02898395d1bf1c38617b557f7..5fc9c4d1fa76e2251d40510acd4b798a046e3869 100644 (file)
@@ -911,7 +911,7 @@ static int __init xlblk_init(void)
 module_init(xlblk_init);
 
 
-static void xlblk_exit(void)
+static void __exit xlblk_exit(void)
 {
        return xenbus_unregister_driver(&blkfront);
 }
index fd8bfdb53d930413e1b313898eee838478a99fd3..d7e188b6197ad5d0159d4a63a9eeb8e5657fcbf6 100644 (file)
@@ -364,7 +364,7 @@ out:
        return ret;
 }
 
-static void hyper_sysfs_exit(void)
+static void __exit hyper_sysfs_exit(void)
 {
        xen_properties_destroy();
        xen_compilation_destroy();
index 0510f0071bec18280365c29fa23cd954c32a38fc..3c82e9d52dcf3011434c092f2d31c28e983a7b3d 100644 (file)
@@ -544,7 +544,7 @@ static int __init evtchn_init(void)
        return 0;
 }
 
-static void evtchn_cleanup(void)
+static void __exit evtchn_cleanup(void)
 {
        misc_deregister(&evtchn_miscdev);
        unregister_cpu_notifier(&evtchn_cpu_nfb);