Skip to content

Commit

Permalink
sh: Fix up HAS_SR_RB typo in entry-macros.
Browse files Browse the repository at this point in the history
Signed-off-by: Hideo Saito <saito@densan.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Hideo Saito authored and Paul Mundt committed Feb 26, 2008
1 parent 763a495 commit 8b1d165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-sh/entry-macros.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
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
ldc r10, sr
.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
Expand Down

0 comments on commit 8b1d165

Please sign in to comment.