diff options
Diffstat (limited to 'arch/sparc64/kernel/etrap.S')
-rw-r--r-- | arch/sparc64/kernel/etrap.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/etrap.S b/arch/sparc64/kernel/etrap.S index 0d8eba21111b..567dbb765c34 100644 --- a/arch/sparc64/kernel/etrap.S +++ b/arch/sparc64/kernel/etrap.S | |||
@@ -99,6 +99,7 @@ etrap_irq: | |||
99 | wrpr %g0, ETRAP_PSTATE2, %pstate | 99 | wrpr %g0, ETRAP_PSTATE2, %pstate |
100 | mov %l6, %g6 | 100 | mov %l6, %g6 |
101 | #ifdef CONFIG_SMP | 101 | #ifdef CONFIG_SMP |
102 | #error IMMU TSB usage must be fixed | ||
102 | mov TSB_REG, %g3 | 103 | mov TSB_REG, %g3 |
103 | ldxa [%g3] ASI_IMMU, %g5 | 104 | ldxa [%g3] ASI_IMMU, %g5 |
104 | #endif | 105 | #endif |
@@ -248,6 +249,7 @@ scetrap: rdpr %pil, %g2 | |||
248 | mov %l6, %g6 | 249 | mov %l6, %g6 |
249 | stx %i7, [%sp + PTREGS_OFF + PT_V9_I7] | 250 | stx %i7, [%sp + PTREGS_OFF + PT_V9_I7] |
250 | #ifdef CONFIG_SMP | 251 | #ifdef CONFIG_SMP |
252 | #error IMMU TSB usage must be fixed | ||
251 | mov TSB_REG, %g3 | 253 | mov TSB_REG, %g3 |
252 | ldxa [%g3] ASI_IMMU, %g5 | 254 | ldxa [%g3] ASI_IMMU, %g5 |
253 | #endif | 255 | #endif |