diff options
author | Tim Abbott <tabbott@MIT.EDU> | 2009-04-27 14:02:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-27 22:51:58 -0400 |
commit | 991da17ec0b9f396154c8120ffd10e5d7d7aa361 (patch) | |
tree | e53b6ce7d3482afb516e806bfc69966a6af0b7c0 /arch/arm/mm/proc-v7.S | |
parent | df1f6d200c1e20788184251c49f349b38d90889c (diff) |
arm: Use __INIT macro instead of .text.init.
arm is placing 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 <tabbott@mit.edu>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mm/proc-v7.S')
-rw-r--r-- | arch/arm/mm/proc-v7.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index d1ebec42521d..c221e26ac1d3 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -9,6 +9,7 @@ | |||
9 | * | 9 | * |
10 | * This is the "shell" of the ARMv7 processor support. | 10 | * This is the "shell" of the ARMv7 processor support. |
11 | */ | 11 | */ |
12 | #include <linux/init.h> | ||
12 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
13 | #include <asm/assembler.h> | 14 | #include <asm/assembler.h> |
14 | #include <asm/asm-offsets.h> | 15 | #include <asm/asm-offsets.h> |
@@ -153,7 +154,7 @@ cpu_v7_name: | |||
153 | .ascii "ARMv7 Processor" | 154 | .ascii "ARMv7 Processor" |
154 | .align | 155 | .align |
155 | 156 | ||
156 | .section ".text.init", #alloc, #execinstr | 157 | __INIT |
157 | 158 | ||
158 | /* | 159 | /* |
159 | * __v7_setup | 160 | * __v7_setup |