diff options
author | Tim Abbott <tabbott@MIT.EDU> | 2009-04-25 22:11:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-26 09:20:38 -0700 |
commit | e70398458738fd26f96adc95eea8efe908809f08 (patch) | |
tree | b2e7da5ad3a0dce29d9066c2a87d3a66e15d3d34 /arch/powerpc/kernel/head_44x.S | |
parent | 9760f8fc60766f8fde0ef5cf7df714c2ce864ab6 (diff) | |
download | kernel-crypto-e70398458738fd26f96adc95eea8efe908809f08.tar.gz kernel-crypto-e70398458738fd26f96adc95eea8efe908809f08.tar.xz kernel-crypto-e70398458738fd26f96adc95eea8efe908809f08.zip |
powerpc: convert to use __HEAD and HEAD_TEXT macros.
This has the consequence of changing the section name use for head
code from ".text.head" to ".head.text". Since this commit changes all
users in the architecture, this change should be harmless.
Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/kernel/head_44x.S')
-rw-r--r-- | arch/powerpc/kernel/head_44x.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index b56fecc93a1..18d8a1677c4 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S @@ -28,6 +28,7 @@ * option) any later version. */ +#include <linux/init.h> #include <asm/processor.h> #include <asm/page.h> #include <asm/mmu.h> @@ -50,7 +51,7 @@ * r7 - End of kernel command line string * */ - .section .text.head, "ax" + __HEAD _ENTRY(_stext); _ENTRY(_start); /* |