Commit 9cb07b23 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: use common __INIT/__FINIT defines rather than setting the...

Blackfin arch: use common __INIT/__FINIT defines rather than setting the .section ourselves to .init.text
Signed-off-by: default avatarMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent fb322915
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* after a timer-interrupt and after each system call. * after a timer-interrupt and after each system call.
*/ */
#include <linux/init.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/unistd.h> #include <linux/unistd.h>
#include <asm/blackfin.h> #include <asm/blackfin.h>
...@@ -881,7 +881,7 @@ ENTRY(_software_trace_buff) ...@@ -881,7 +881,7 @@ ENTRY(_software_trace_buff)
#endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */ #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */
#if CONFIG_EARLY_PRINTK #if CONFIG_EARLY_PRINTK
.section .init.text,"ax" __INIT
ENTRY(_early_trap) ENTRY(_early_trap)
SAVE_ALL_SYS SAVE_ALL_SYS
trace_buffer_stop(p0,r0); trace_buffer_stop(p0,r0);
...@@ -916,6 +916,7 @@ ENTRY(_early_trap) ...@@ -916,6 +916,7 @@ ENTRY(_early_trap)
call _early_trap_c; call _early_trap_c;
SP += 12; SP += 12;
ENDPROC(_early_trap) ENDPROC(_early_trap)
__FINIT
#endif /* CONFIG_EARLY_PRINTK */ #endif /* CONFIG_EARLY_PRINTK */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment