Commit 8b1d16540c6ae4e62fcff56bd47794951b3ca87a
Committed by
Paul Mundt
1 parent
763a495a02
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
include/asm-sh/entry-macros.S
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | not r11, r11 |
13 | 13 | stc sr, r10 |
14 | 14 | and r11, r10 |
15 | -#ifdef CONFIG_HAS_SR_RB | |
15 | +#ifdef CONFIG_CPU_HAS_SR_RB | |
16 | 16 | stc k_g_imask, r11 |
17 | 17 | or r11, r10 |
18 | 18 | #endif |
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | .endm |
21 | 21 | |
22 | 22 | .macro get_current_thread_info, ti, tmp |
23 | -#ifdef CONFIG_HAS_SR_RB | |
23 | +#ifdef CONFIG_CPU_HAS_SR_RB | |
24 | 24 | stc r7_bank, \ti |
25 | 25 | #else |
26 | 26 | mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp |