提交 8b1d1654 编写于 作者: H Hideo Saito 提交者: Paul Mundt

sh: Fix up HAS_SR_RB typo in entry-macros.

Signed-off-by: NHideo Saito <saito@densan.co.jp>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 763a495a
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
not r11, r11 not r11, r11
stc sr, r10 stc sr, r10
and r11, r10 and r11, r10
#ifdef CONFIG_HAS_SR_RB #ifdef CONFIG_CPU_HAS_SR_RB
stc k_g_imask, r11 stc k_g_imask, r11
or r11, r10 or r11, r10
#endif #endif
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
.endm .endm
.macro get_current_thread_info, ti, tmp .macro get_current_thread_info, ti, tmp
#ifdef CONFIG_HAS_SR_RB #ifdef CONFIG_CPU_HAS_SR_RB
stc r7_bank, \ti stc r7_bank, \ti
#else #else
mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册