소스 검색

[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 년 전
부모
커밋
1375fc1fb0
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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;
 	return rc;
 }
 }
 
 
-__exit void hypfs_diag_exit(void)
+void hypfs_diag_exit(void)
 {
 {
 	diag224_delete_name_table();
 	diag224_delete_name_table();
 	diag204_free_buffer();
 	diag204_free_buffer();

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

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

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

@@ -678,7 +678,7 @@ int __init dasd_eer_init(void)
 	return 0;
 	return 0;
 }
 }
 
 
-void __exit dasd_eer_exit(void)
+void dasd_eer_exit(void)
 {
 {
 	WARN_ON(misc_deregister(&dasd_eer_dev) != 0);
 	WARN_ON(misc_deregister(&dasd_eer_dev) != 0);
 }
 }