diff options
Diffstat (limited to 'arch/sparc/kernel/entry.S')
-rw-r--r-- | arch/sparc/kernel/entry.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S index 4bcfe54f878d..2f96256dc515 100644 --- a/arch/sparc/kernel/entry.S +++ b/arch/sparc/kernel/entry.S | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <asm/vaddrs.h> | 19 | #include <asm/vaddrs.h> |
20 | #include <asm/memreg.h> | 20 | #include <asm/memreg.h> |
21 | #include <asm/page.h> | 21 | #include <asm/page.h> |
22 | #include <asm/pgtable.h> | ||
22 | #ifdef CONFIG_SUN4 | 23 | #ifdef CONFIG_SUN4 |
23 | #include <asm/pgtsun4.h> | 24 | #include <asm/pgtsun4.h> |
24 | #else | 25 | #else |
@@ -1317,7 +1318,6 @@ linux_sparc_syscall: | |||
1317 | bne linux_fast_syscall | 1318 | bne linux_fast_syscall |
1318 | /* Just do first insn from SAVE_ALL in the delay slot */ | 1319 | /* Just do first insn from SAVE_ALL in the delay slot */ |
1319 | 1320 | ||
1320 | .globl syscall_is_too_hard | ||
1321 | syscall_is_too_hard: | 1321 | syscall_is_too_hard: |
1322 | SAVE_ALL_HEAD | 1322 | SAVE_ALL_HEAD |
1323 | rd %wim, %l3 | 1323 | rd %wim, %l3 |
@@ -1544,8 +1544,7 @@ kgdb_trap_low: | |||
1544 | #endif | 1544 | #endif |
1545 | 1545 | ||
1546 | .align 4 | 1546 | .align 4 |
1547 | .globl __handle_exception, flush_patch_exception | 1547 | .globl flush_patch_exception |
1548 | __handle_exception: | ||
1549 | flush_patch_exception: | 1548 | flush_patch_exception: |
1550 | FLUSH_ALL_KERNEL_WINDOWS; | 1549 | FLUSH_ALL_KERNEL_WINDOWS; |
1551 | ldd [%o0], %o6 | 1550 | ldd [%o0], %o6 |