patch-2.1.16 linux/include/asm-sparc/head.h
Next file: linux/include/asm-sparc/io.h
Previous file: linux/include/asm-sparc/byteorder.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri Dec 13 11:37:40 1996
- Orig file:
v2.1.15/linux/include/asm-sparc/head.h
- Orig date:
Tue Nov 12 15:56:12 1996
diff -u --recursive --new-file v2.1.15/linux/include/asm-sparc/head.h linux/include/asm-sparc/head.h
@@ -1,4 +1,4 @@
-/* $Id: head.h,v 1.30 1996/07/29 21:00:28 miguel Exp $ */
+/* $Id: head.h,v 1.32 1996/12/04 00:12:48 ecd Exp $ */
#ifndef __SPARC_HEAD_H
#define __SPARC_HEAD_H
@@ -54,16 +54,16 @@
/* Software trap for Slowaris system calls. */
#define SOLARIS_SYSCALL_TRAP \
- sethi %hi(C_LABEL(sys_call_table)), %l7; \
- or %l7, %lo(C_LABEL(sys_call_table)), %l7; \
b solaris_syscall; \
- rd %psr, %l0;
+ rd %psr, %l0; \
+ nop; \
+ nop;
#define INDIRECT_SOLARIS_SYSCALL(x) \
- sethi %hi(C_LABEL(sys_call_table)), %l7; \
- or %g0,%lo(x),%g1; \
- b solaris_indirect_syscall; \
- rd %psr, %l0;
+ mov x, %g1; \
+ b solaris_syscall; \
+ rd %psr, %l0; \
+ nop;
#define BREAKPOINT_TRAP \
b breakpoint_trap; \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov