diff options
Diffstat (limited to 'arch/sparc/kernel/entry.S')
-rw-r--r-- | arch/sparc/kernel/entry.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S index 2dbe1806e530..dcaa1cf0de40 100644 --- a/arch/sparc/kernel/entry.S +++ b/arch/sparc/kernel/entry.S | |||
@@ -393,7 +393,6 @@ linux_trap_ipi15_sun4d: | |||
393 | /* FIXME */ | 393 | /* FIXME */ |
394 | 1: b,a 1b | 394 | 1: b,a 1b |
395 | 395 | ||
396 | #ifdef CONFIG_SPARC_LEON | ||
397 | .globl smpleon_ipi | 396 | .globl smpleon_ipi |
398 | .extern leon_ipi_interrupt | 397 | .extern leon_ipi_interrupt |
399 | /* SMP per-cpu IPI interrupts are handled specially. */ | 398 | /* SMP per-cpu IPI interrupts are handled specially. */ |
@@ -424,8 +423,6 @@ linux_trap_ipi15_leon: | |||
424 | b ret_trap_lockless_ipi | 423 | b ret_trap_lockless_ipi |
425 | clr %l6 | 424 | clr %l6 |
426 | 425 | ||
427 | #endif /* CONFIG_SPARC_LEON */ | ||
428 | |||
429 | #endif /* CONFIG_SMP */ | 426 | #endif /* CONFIG_SMP */ |
430 | 427 | ||
431 | /* This routine handles illegal instructions and privileged | 428 | /* This routine handles illegal instructions and privileged |
@@ -770,8 +767,11 @@ srmmu_fault: | |||
770 | mov 0x400, %l5 | 767 | mov 0x400, %l5 |
771 | mov 0x300, %l4 | 768 | mov 0x300, %l4 |
772 | 769 | ||
773 | lda [%l5] ASI_M_MMUREGS, %l6 ! read sfar first | 770 | LEON_PI(lda [%l5] ASI_LEON_MMUREGS, %l6) ! read sfar first |
774 | lda [%l4] ASI_M_MMUREGS, %l5 ! read sfsr last | 771 | SUN_PI_(lda [%l5] ASI_M_MMUREGS, %l6) ! read sfar first |
772 | |||
773 | LEON_PI(lda [%l4] ASI_LEON_MMUREGS, %l5) ! read sfsr last | ||
774 | SUN_PI_(lda [%l4] ASI_M_MMUREGS, %l5) ! read sfsr last | ||
775 | 775 | ||
776 | andn %l6, 0xfff, %l6 | 776 | andn %l6, 0xfff, %l6 |
777 | srl %l5, 6, %l5 ! and encode all info into l7 | 777 | srl %l5, 6, %l5 ! and encode all info into l7 |