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 12:20:38 -0400 |
commit | e70398458738fd26f96adc95eea8efe908809f08 (patch) | |
tree | b2e7da5ad3a0dce29d9066c2a87d3a66e15d3d34 /arch/powerpc/kernel/head_44x.S | |
parent | 9760f8fc60766f8fde0ef5cf7df714c2ce864ab6 (diff) |
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 b56fecc93a16..18d8a1677c4d 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S | |||
@@ -28,6 +28,7 @@ | |||
28 | * option) any later version. | 28 | * option) any later version. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <linux/init.h> | ||
31 | #include <asm/processor.h> | 32 | #include <asm/processor.h> |
32 | #include <asm/page.h> | 33 | #include <asm/page.h> |
33 | #include <asm/mmu.h> | 34 | #include <asm/mmu.h> |
@@ -50,7 +51,7 @@ | |||
50 | * r7 - End of kernel command line string | 51 | * r7 - End of kernel command line string |
51 | * | 52 | * |
52 | */ | 53 | */ |
53 | .section .text.head, "ax" | 54 | __HEAD |
54 | _ENTRY(_stext); | 55 | _ENTRY(_stext); |
55 | _ENTRY(_start); | 56 | _ENTRY(_start); |
56 | /* | 57 | /* |