ia64/linux-2.6.18-xen.hg

changeset 605:2d2436c48e43

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@valinux.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jul 18 11:25:07 2008 +0100 (2008-07-18)
parents 5644f68a7912
children f23e94e1c335
files drivers/xen/scsiback/common.h drivers/xen/scsiback/interface.c
line diff
     1.1 --- a/drivers/xen/scsiback/common.h	Wed Jul 16 13:51:36 2008 +0100
     1.2 +++ b/drivers/xen/scsiback/common.h	Fri Jul 18 11:25:07 2008 +0100
     1.3 @@ -152,7 +152,7 @@ struct vscsibk_info *vscsibk_info_alloc(
     1.4  void scsiback_free(struct vscsibk_info *info);
     1.5  void scsiback_disconnect(struct vscsibk_info *info);
     1.6  int __init scsiback_interface_init(void);
     1.7 -void __exit scsiback_interface_exit(void);
     1.8 +void scsiback_interface_exit(void);
     1.9  int scsiback_xenbus_init(void);
    1.10  void scsiback_xenbus_unregister(void);
    1.11  
     2.1 --- a/drivers/xen/scsiback/interface.c	Wed Jul 16 13:51:36 2008 +0100
     2.2 +++ b/drivers/xen/scsiback/interface.c	Fri Jul 18 11:25:07 2008 +0100
     2.3 @@ -176,7 +176,7 @@ int __init scsiback_interface_init(void)
     2.4  	return 0;
     2.5  }
     2.6  
     2.7 -void __exit scsiback_interface_exit(void)
     2.8 +void scsiback_interface_exit(void)
     2.9  {
    2.10  	kmem_cache_destroy(scsiback_cachep);
    2.11  }