diff options
Diffstat (limited to 'arch/arm/kernel/debug.S')
-rw-r--r-- | arch/arm/kernel/debug.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/debug.S b/arch/arm/kernel/debug.S index 0f852d082fcf..204e2160cfcc 100644 --- a/arch/arm/kernel/debug.S +++ b/arch/arm/kernel/debug.S | |||
@@ -22,7 +22,7 @@ | |||
22 | #if defined(CONFIG_DEBUG_ICEDCC) | 22 | #if defined(CONFIG_DEBUG_ICEDCC) |
23 | @@ debug using ARM EmbeddedICE DCC channel | 23 | @@ debug using ARM EmbeddedICE DCC channel |
24 | 24 | ||
25 | .macro addruart, rp, rv | 25 | .macro addruart, rp, rv, tmp |
26 | .endm | 26 | .endm |
27 | 27 | ||
28 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) || defined(CONFIG_CPU_V7) | 28 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) || defined(CONFIG_CPU_V7) |
@@ -106,7 +106,7 @@ | |||
106 | 106 | ||
107 | #ifdef CONFIG_MMU | 107 | #ifdef CONFIG_MMU |
108 | .macro addruart_current, rx, tmp1, tmp2 | 108 | .macro addruart_current, rx, tmp1, tmp2 |
109 | addruart \tmp1, \tmp2 | 109 | addruart \tmp1, \tmp2, \rx |
110 | mrc p15, 0, \rx, c1, c0 | 110 | mrc p15, 0, \rx, c1, c0 |
111 | tst \rx, #1 | 111 | tst \rx, #1 |
112 | moveq \rx, \tmp1 | 112 | moveq \rx, \tmp1 |