Commit 8b1d1654 authored by Hideo Saito's avatar Hideo Saito Committed by Paul Mundt

sh: Fix up HAS_SR_RB typo in entry-macros.

Signed-off-by: default avatarHideo Saito <saito@densan.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 763a495a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment