WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] pvSCSI: compilation fix.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2008 07:30:16 -0700
Delivery-date: Fri, 18 Jul 2008 07:31:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] pvSCSI: compilation fix., Xen patchbot-linux-2.6.18-xen <=