mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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>
This commit is contained in:
parent
763a495a02
commit
8b1d16540c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue