diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-11-21 03:45:08 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-11-21 03:45:08 -0500 |
commit | 9cb07b23dbc1c4c6ded49ba31d51b639a13970e3 (patch) | |
tree | 6faec8d4fcda3d91f7aad67a7a311cfc6c400ef6 /arch/blackfin | |
parent | fb322915a05804a3a153f714f2f08e4c32ce84c7 (diff) |
Blackfin arch: use common __INIT/__FINIT defines rather than setting the .section ourselves to .init.text
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index 7cf535331d2c..dc9d3ee2e691 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
@@ -33,7 +33,7 @@ | |||
33 | * after a timer-interrupt and after each system call. | 33 | * after a timer-interrupt and after each system call. |
34 | */ | 34 | */ |
35 | 35 | ||
36 | 36 | #include <linux/init.h> | |
37 | #include <linux/linkage.h> | 37 | #include <linux/linkage.h> |
38 | #include <linux/unistd.h> | 38 | #include <linux/unistd.h> |
39 | #include <asm/blackfin.h> | 39 | #include <asm/blackfin.h> |
@@ -881,7 +881,7 @@ ENTRY(_software_trace_buff) | |||
881 | #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */ | 881 | #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */ |
882 | 882 | ||
883 | #if CONFIG_EARLY_PRINTK | 883 | #if CONFIG_EARLY_PRINTK |
884 | .section .init.text,"ax" | 884 | __INIT |
885 | ENTRY(_early_trap) | 885 | ENTRY(_early_trap) |
886 | SAVE_ALL_SYS | 886 | SAVE_ALL_SYS |
887 | trace_buffer_stop(p0,r0); | 887 | trace_buffer_stop(p0,r0); |
@@ -916,6 +916,7 @@ ENTRY(_early_trap) | |||
916 | call _early_trap_c; | 916 | call _early_trap_c; |
917 | SP += 12; | 917 | SP += 12; |
918 | ENDPROC(_early_trap) | 918 | ENDPROC(_early_trap) |
919 | __FINIT | ||
919 | #endif /* CONFIG_EARLY_PRINTK */ | 920 | #endif /* CONFIG_EARLY_PRINTK */ |
920 | 921 | ||
921 | /* | 922 | /* |