summaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorHideo Saito <saito@densan.co.jp>2008-02-26 14:28:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-02-26 14:28:48 +0900
commit8b1d16540c6ae4e62fcff56bd47794951b3ca87a (patch)
treecfdac59e2786690dc590c8739f94e5723f0d2f25 /include/asm-sh
parent763a495a022ac26afb2940e768e86725c1c7e8c9 (diff)
downloadop-kernel-dev-8b1d16540c6ae4e62fcff56bd47794951b3ca87a.zip
op-kernel-dev-8b1d16540c6ae4e62fcff56bd47794951b3ca87a.tar.gz
sh: Fix up HAS_SR_RB typo in entry-macros.
Signed-off-by: Hideo Saito <saito@densan.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/entry-macros.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sh/entry-macros.S b/include/asm-sh/entry-macros.S
index 500030e..2dab0b8 100644
--- a/include/asm-sh/entry-macros.S
+++ b/include/asm-sh/entry-macros.S
@@ -12,7 +12,7 @@
not r11, r11
stc sr, r10
and r11, r10
-#ifdef CONFIG_HAS_SR_RB
+#ifdef CONFIG_CPU_HAS_SR_RB
stc k_g_imask, r11
or r11, r10
#endif
@@ -20,7 +20,7 @@
.endm
.macro get_current_thread_info, ti, tmp
-#ifdef CONFIG_HAS_SR_RB
+#ifdef CONFIG_CPU_HAS_SR_RB
stc r7_bank, \ti
#else
mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp
OpenPOWER on IntegriCloud