diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-23 22:15:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-24 02:32:19 -0400 |
commit | c6ca978370c57422cdcf814af1da96cfc7c24811 (patch) | |
tree | 7d5d68538b4f79c5eb1733fff62e897d45158c86 /arch/sparc64 | |
parent | a5c564279854c971a27cc650be4bb32c290e9ae7 (diff) |
sparc64: cleanup after SunOS/Solaris binary emulation removal
The following cleanups are now possible:
- arch/sparc64/kernel/entry.S:ret_sys_call no longer has to be global
- arch/sparc64/kernel/sparc64_ksyms.c:
remove no longer used prototypes
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/kernel/entry.S | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/sparc64_ksyms.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S index fb43c76bdc26..f54cd2dd55dc 100644 --- a/arch/sparc64/kernel/entry.S +++ b/arch/sparc64/kernel/entry.S | |||
@@ -1559,7 +1559,7 @@ linux_sparc_syscall32: | |||
1559 | 1559 | ||
1560 | /* Linux native system calls enter here... */ | 1560 | /* Linux native system calls enter here... */ |
1561 | .align 32 | 1561 | .align 32 |
1562 | .globl linux_sparc_syscall, ret_sys_call | 1562 | .globl linux_sparc_syscall |
1563 | linux_sparc_syscall: | 1563 | linux_sparc_syscall: |
1564 | /* Direct access to user regs, much faster. */ | 1564 | /* Direct access to user regs, much faster. */ |
1565 | cmp %g1, NR_SYSCALLS ! IEU1 Group | 1565 | cmp %g1, NR_SYSCALLS ! IEU1 Group |
diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c index 38736460b8db..66336590e830 100644 --- a/arch/sparc64/kernel/sparc64_ksyms.c +++ b/arch/sparc64/kernel/sparc64_ksyms.c | |||
@@ -68,8 +68,6 @@ extern void *__memscan_zero(void *, size_t); | |||
68 | extern void *__memscan_generic(void *, int, size_t); | 68 | extern void *__memscan_generic(void *, int, size_t); |
69 | extern int __memcmp(const void *, const void *, __kernel_size_t); | 69 | extern int __memcmp(const void *, const void *, __kernel_size_t); |
70 | extern __kernel_size_t strlen(const char *); | 70 | extern __kernel_size_t strlen(const char *); |
71 | extern void linux_sparc_syscall(void); | ||
72 | extern void rtrap(void); | ||
73 | extern void show_regs(struct pt_regs *); | 71 | extern void show_regs(struct pt_regs *); |
74 | extern void syscall_trace(struct pt_regs *, int); | 72 | extern void syscall_trace(struct pt_regs *, int); |
75 | extern void sys_sigsuspend(void); | 73 | extern void sys_sigsuspend(void); |