summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/tlb-v6.S
diff options
context:
space:
mode:
authorTim Abbott <tabbott@MIT.EDU>2009-04-27 14:02:22 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-27 19:51:58 -0700
commit991da17ec0b9f396154c8120ffd10e5d7d7aa361 (patch)
treee53b6ce7d3482afb516e806bfc69966a6af0b7c0 /arch/arm/mm/tlb-v6.S
parentdf1f6d200c1e20788184251c49f349b38d90889c (diff)
downloadlinux-stable-991da17ec0b9f396154c8120ffd10e5d7d7aa361.tar.gz
linux-stable-991da17ec0b9f396154c8120ffd10e5d7d7aa361.tar.bz2
linux-stable-991da17ec0b9f396154c8120ffd10e5d7d7aa361.zip
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/tlb-v6.S')
-rw-r--r--arch/arm/mm/tlb-v6.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mm/tlb-v6.S b/arch/arm/mm/tlb-v6.S
index 20f84bbaa9bb..73d7d89b04c4 100644
--- a/arch/arm/mm/tlb-v6.S
+++ b/arch/arm/mm/tlb-v6.S
@@ -10,6 +10,7 @@
* ARM architecture version 6 TLB handling functions.
* These assume a split I/D TLB.
*/
+#include <linux/init.h>
#include <linux/linkage.h>
#include <asm/asm-offsets.h>
#include <asm/page.h>
@@ -87,7 +88,7 @@ ENTRY(v6wbi_flush_kern_tlb_range)
mcr p15, 0, r2, c7, c5, 4 @ prefetch flush
mov pc, lr
- .section ".text.init", #alloc, #execinstr
+ __INIT
.type v6wbi_tlb_fns, #object
ENTRY(v6wbi_tlb_fns)