diff options
author | Tim Abbott <tabbott@MIT.EDU> | 2009-04-25 22:11:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-26 09:20:39 -0700 |
commit | bbe215c231ac809e42b037345c1fa8e8eb09b00a (patch) | |
tree | d58f315a1a580a1e1104cbe7fd3c3958254757e4 /arch/sh/kernel/head_32.S | |
parent | 2133bb8d8c691c08d47f16d5971ba98f0ac241bf (diff) | |
download | blackbird-op-linux-bbe215c231ac809e42b037345c1fa8e8eb09b00a.tar.gz blackbird-op-linux-bbe215c231ac809e42b037345c1fa8e8eb09b00a.zip |
sh: 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: Paul Mundt <lethal@linux-sh.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh/kernel/head_32.S')
-rw-r--r-- | arch/sh/kernel/head_32.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/head_32.S b/arch/sh/kernel/head_32.S index 788605ff7088..a78be74b8d3e 100644 --- a/arch/sh/kernel/head_32.S +++ b/arch/sh/kernel/head_32.S @@ -10,6 +10,7 @@ * * Head.S contains the SH exception handlers and startup code. */ +#include <linux/init.h> #include <linux/linkage.h> #include <asm/thread_info.h> @@ -40,7 +41,7 @@ ENTRY(empty_zero_page) 1: .skip PAGE_SIZE - empty_zero_page - 1b - .section .text.head, "ax" + __HEAD /* * Condition at the entry of _stext: |