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

[Xen-changelog] [linux-2.6.18-xen] pvSCSI: compilation fix.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216376707 -3600
# Node ID 2d2436c48e43bb721a2b7a04b49081dd30672d85
# Parent  5644f68a7912e39585d9cbf3bc0a3800884ae693
pvSCSI: compilation fix.

This patch fixes the following compilation error.
scsiback_interface_exit() is called by scsiback_init().
remove __exit.

>  LD      .tmp_vmlinux1
>`scsiback_interface_exit' referenced in section `.init.text' of
>drivers/built-in.o: defined in discarded section `.exit.text' of
>drivers/built-in.o

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 drivers/xen/scsiback/common.h    |    2 +-
 drivers/xen/scsiback/interface.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 5644f68a7912 -r 2d2436c48e43 drivers/xen/scsiback/common.h
--- a/drivers/xen/scsiback/common.h     Wed Jul 16 13:51:36 2008 +0100
+++ b/drivers/xen/scsiback/common.h     Fri Jul 18 11:25:07 2008 +0100
@@ -152,7 +152,7 @@ void scsiback_free(struct vscsibk_info *
 void scsiback_free(struct vscsibk_info *info);
 void scsiback_disconnect(struct vscsibk_info *info);
 int __init scsiback_interface_init(void);
-void __exit scsiback_interface_exit(void);
+void scsiback_interface_exit(void);
 int scsiback_xenbus_init(void);
 void scsiback_xenbus_unregister(void);
 
diff -r 5644f68a7912 -r 2d2436c48e43 drivers/xen/scsiback/interface.c
--- a/drivers/xen/scsiback/interface.c  Wed Jul 16 13:51:36 2008 +0100
+++ b/drivers/xen/scsiback/interface.c  Fri Jul 18 11:25:07 2008 +0100
@@ -176,7 +176,7 @@ int __init scsiback_interface_init(void)
        return 0;
 }
 
-void __exit scsiback_interface_exit(void)
+void scsiback_interface_exit(void)
 {
        kmem_cache_destroy(scsiback_cachep);
 }

_______________________________________________
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®.