[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen: add __exit to module_exit() handlers



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197454458 0
# Node ID 7b2735c64dca31ff281102504ae9bcfe979e28e1
# Parent  869bfd143693761cd7f44afe374c96c70a4578a5
xen: add __exit to module_exit() handlers
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/balloon/balloon.c   |    2 +-
 drivers/xen/blkfront/blkfront.c |    2 +-
 drivers/xen/core/xen_sysfs.c    |    2 +-
 drivers/xen/evtchn/evtchn.c     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff -r 869bfd143693 -r 7b2735c64dca drivers/xen/balloon/balloon.c
--- a/drivers/xen/balloon/balloon.c     Wed Dec 12 10:13:46 2007 +0000
+++ b/drivers/xen/balloon/balloon.c     Wed Dec 12 10:14:18 2007 +0000
@@ -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; 
diff -r 869bfd143693 -r 7b2735c64dca drivers/xen/blkfront/blkfront.c
--- a/drivers/xen/blkfront/blkfront.c   Wed Dec 12 10:13:46 2007 +0000
+++ b/drivers/xen/blkfront/blkfront.c   Wed Dec 12 10:14:18 2007 +0000
@@ -911,7 +911,7 @@ module_init(xlblk_init);
 module_init(xlblk_init);
 
 
-static void xlblk_exit(void)
+static void __exit xlblk_exit(void)
 {
        return xenbus_unregister_driver(&blkfront);
 }
diff -r 869bfd143693 -r 7b2735c64dca drivers/xen/core/xen_sysfs.c
--- a/drivers/xen/core/xen_sysfs.c      Wed Dec 12 10:13:46 2007 +0000
+++ b/drivers/xen/core/xen_sysfs.c      Wed Dec 12 10:14:18 2007 +0000
@@ -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();
diff -r 869bfd143693 -r 7b2735c64dca drivers/xen/evtchn/evtchn.c
--- a/drivers/xen/evtchn/evtchn.c       Wed Dec 12 10:13:46 2007 +0000
+++ b/drivers/xen/evtchn/evtchn.c       Wed Dec 12 10:14:18 2007 +0000
@@ -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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.