patch-2.2.16 linux/include/asm-sparc/head.h

Next file: linux/include/asm-sparc64/audioio.h
Previous file: linux/include/asm-sparc/audioio.h
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/include/asm-sparc/head.h linux/include/asm-sparc/head.h
@@ -1,4 +1,4 @@
-/* $Id: head.h,v 1.36.2.2 1999/12/01 23:55:47 davem Exp $ */
+/* $Id: head.h,v 1.36.2.3 2000/05/26 22:19:39 ecd Exp $ */
 #ifndef __SPARC_HEAD_H
 #define __SPARC_HEAD_H
 
@@ -95,7 +95,7 @@
 
 /* The Get PSR software trap for userland. */
 #define GETPSR_TRAP \
-	mov %psr, %o0; jmpl %l2, %g0; rett %l2 + 4; nop;
+	mov %psr, %i0; jmp %l2; rett %l2 + 4; nop;
 
 /* This is for hard interrupts from level 1-14, 15 is non-maskable (nmi) and
  * gets handled with another macro.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)