Skip to content

Commit

Permalink
sparc64: cleanup after SunOS/Solaris binary emulation removal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Apr 24, 2008
1 parent a5c5642 commit c6ca978
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ linux_sparc_syscall32:

/* Linux native system calls enter here... */
.align 32
.globl linux_sparc_syscall, ret_sys_call
.globl linux_sparc_syscall
linux_sparc_syscall:
/* Direct access to user regs, much faster. */
cmp %g1, NR_SYSCALLS ! IEU1 Group
Expand Down
2 changes: 0 additions & 2 deletions arch/sparc64/kernel/sparc64_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ extern void *__memscan_zero(void *, size_t);
extern void *__memscan_generic(void *, int, size_t);
extern int __memcmp(const void *, const void *, __kernel_size_t);
extern __kernel_size_t strlen(const char *);
extern void linux_sparc_syscall(void);
extern void rtrap(void);
extern void show_regs(struct pt_regs *);
extern void syscall_trace(struct pt_regs *, int);
extern void sys_sigsuspend(void);
Expand Down

0 comments on commit c6ca978

Please sign in to comment.