summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/head_32.S
diff options
context:
space:
mode:
authorTim Abbott <tabbott@MIT.EDU>2009-04-26 02:11:07 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-26 16:20:39 (GMT)
commitbbe215c231ac809e42b037345c1fa8e8eb09b00a (patch)
treed58f315a1a580a1e1104cbe7fd3c3958254757e4 /arch/sh/kernel/head_32.S
parent2133bb8d8c691c08d47f16d5971ba98f0ac241bf (diff)
downloadlinux-fsl-qoriq-bbe215c231ac809e42b037345c1fa8e8eb09b00a.tar.xz
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.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/head_32.S b/arch/sh/kernel/head_32.S
index 788605f..a78be74 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: