patch-2.3.30 linux/include/asm-ppc/ptrace.h
Next file: linux/include/asm-ppc/resource.h
Previous file: linux/include/asm-ppc/processor.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Nov 27 15:42:33 1999
- Orig file:
v2.3.29/linux/include/asm-ppc/ptrace.h
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.29/linux/include/asm-ppc/ptrace.h linux/include/asm-ppc/ptrace.h
@@ -49,7 +49,7 @@
#define __SIGNAL_FRAMESIZE 64
#define instruction_pointer(regs) ((regs)->nip)
-#define user_mode(regs) ((regs)->msr & 0x4000)
+#define user_mode(regs) ((regs)->msr & MSR_PR)
/*
* Offsets used by 'ptrace' system call interface.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)