patch-2.1.126 linux/arch/alpha/kernel/traps.c

Next file: linux/arch/alpha/lib/Makefile
Previous file: linux/arch/alpha/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -149,8 +149,6 @@
 			 unsigned long a2, unsigned long a3, unsigned long a4,
 			 unsigned long a5, struct pt_regs regs)
 {
-	extern int ptrace_cancel_bpt (struct task_struct *who);
-
 	lock_kernel();
 	die_if_kernel("Instruction fault", &regs, type, 0);
 	switch (type) {
@@ -558,11 +556,12 @@
 
 #define OP_INT_MASK	( 1L << 0x28 | 1L << 0x2c   /* ldl stl */	\
 			| 1L << 0x29 | 1L << 0x2d   /* ldq stq */	\
-			| 1L << 0x0c | 1L << 0x0d ) /* ldwu stw */
+			| 1L << 0x0c | 1L << 0x0d   /* ldwu stw */	\
+			| 1L << 0x0a | 1L << 0x0e ) /* ldbu stb */
 
 #define OP_WRITE_MASK	( 1L << 0x26 | 1L << 0x27   /* sts stt */	\
 			| 1L << 0x2c | 1L << 0x2d   /* stl stq */	\
-			| 1L << 0xd )		    /* stw */
+			| 1L << 0x0d | 1L << 0x0e ) /* stw stb */
 
 #define R(x)	((size_t) &((struct pt_regs *)0)->x)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov