Browse Source

[S390] __exit cleanup.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Heiko Carstens 18 years ago
parent
commit
1375fc1fb0
3 changed files with 3 additions and 3 deletions
  1. 1 1
      arch/s390/hypfs/hypfs_diag.c
  2. 1 1
      arch/s390/kernel/vmlinux.lds.S
  3. 1 1
      drivers/s390/block/dasd_eer.c

+ 1 - 1
arch/s390/hypfs/hypfs_diag.c

@@ -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();

+ 1 - 1
arch/s390/kernel/vmlinux.lds.S

@@ -118,7 +118,7 @@ SECTIONS
 
   /* Sections to be discarded */
   /DISCARD/ : {
-	*(.exitcall.exit)
+	*(.exit.text) *(.exit.data) *(.exitcall.exit)
 	}
 
   /* Stabs debugging sections.  */

+ 1 - 1
drivers/s390/block/dasd_eer.c

@@ -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);
 }