]> err.no Git - linux-2.6/commitdiff
Blackfin arch: use common __INIT/__FINIT defines rather than setting the .section...
authorMike Frysinger <michael.frysinger@analog.com>
Wed, 21 Nov 2007 08:45:08 +0000 (16:45 +0800)
committerBryan Wu <bryan.wu@analog.com>
Wed, 21 Nov 2007 08:45:08 +0000 (16:45 +0800)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-common/entry.S

index 7cf535331d2c5965e9d14c8689d8f76ac2762037..dc9d3ee2e69113ef9168c5ce4acf501e1057c760 100644 (file)
@@ -33,7 +33,7 @@
  * after a timer-interrupt and after each system call.
  */
 
-
+#include <linux/init.h>
 #include <linux/linkage.h>
 #include <linux/unistd.h>
 #include <asm/blackfin.h>
@@ -881,7 +881,7 @@ ENTRY(_software_trace_buff)
 #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */
 
 #if CONFIG_EARLY_PRINTK
-.section .init.text,"ax"
+__INIT
 ENTRY(_early_trap)
        SAVE_ALL_SYS
        trace_buffer_stop(p0,r0);
@@ -916,6 +916,7 @@ ENTRY(_early_trap)
        call _early_trap_c;
        SP += 12;
 ENDPROC(_early_trap)
+__FINIT
 #endif /* CONFIG_EARLY_PRINTK */
 
 /*