diff options
author | Tim Abbott <[email protected]> | 2009-04-27 14:02:25 -0400 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-04-27 19:51:58 -0700 |
commit | 882016ff3659126f6da50cf7cb84a0a15d00a87b (patch) | |
tree | 8d4762db9aaadc71f22d1a982f61d0551f214598 | |
parent | 9203fc9c1266ed21c327f679ad05e53509dfbee1 (diff) |
sh: Use __INIT macro instead of .text.init.
The sh architecture has some code in the .text.init section, but it
does not reference that section in its linker scripts.
This change moves this code from the .text.init section to the
.init.text section, which is presumably where it belongs.
Signed-off-by: Tim Abbott <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Acked-by: Paul Mundt <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | arch/sh/kernel/cpu/sh5/entry.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh5/entry.S b/arch/sh/kernel/cpu/sh5/entry.S index e640c63d5811..7e49cb812f8b 100644 --- a/arch/sh/kernel/cpu/sh5/entry.S +++ b/arch/sh/kernel/cpu/sh5/entry.S @@ -10,6 +10,7 @@ * for more details. */ #include <linux/errno.h> +#include <linux/init.h> #include <linux/sys.h> #include <cpu/registers.h> #include <asm/processor.h> @@ -2058,10 +2059,10 @@ asm_uaccess_end: /* - * --- .text.init Section + * --- .init.text Section */ - .section .text.init, "ax" + __INIT /* * void trap_init (void) |