[S390] __exit cleanup.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 20 Sep 2006 13:59:12 +0000 (15:59 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 20 Sep 2006 13:59:12 +0000 (15:59 +0200)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/hypfs/hypfs_diag.c
arch/s390/kernel/vmlinux.lds.S
drivers/s390/block/dasd_eer.c

index fee5aee605f6b98f7678fa8c9dd55a69ba53368a..75144efbb92b647cd8ce83487d5bf3a2a7fd238b 100644 (file)
@@ -535,7 +535,7 @@ __init int hypfs_diag_init(void)
        return rc;
 }
 
-__exit void hypfs_diag_exit(void)
+void hypfs_diag_exit(void)
 {
        diag224_delete_name_table();
        diag204_free_buffer();
index df0c16ab8e9200f23c09c97fd9531bd7f01bbebc..af9e69a030112ae2c90428bc5fef2a41931c870b 100644 (file)
@@ -118,7 +118,7 @@ SECTIONS
 
   /* Sections to be discarded */
   /DISCARD/ : {
-       *(.exitcall.exit)
+       *(.exit.text) *(.exit.data) *(.exitcall.exit)
        }
 
   /* Stabs debugging sections.  */
index da65f1b032f5ad59748e356342afd1793eb0878e..e0bf30ebb21521106229348d610f6e182dc1a656 100644 (file)
@@ -678,7 +678,7 @@ int __init dasd_eer_init(void)
        return 0;
 }
 
-void __exit dasd_eer_exit(void)
+void dasd_eer_exit(void)
 {
        WARN_ON(misc_deregister(&dasd_eer_dev) != 0);
 }