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
- Lines: 24
- Date:
Mon Oct 12 11:40:12 1998
- Orig file:
v2.1.125/linux/arch/alpha/kernel/traps.c
- Orig date:
Tue Aug 18 22:02:02 1998
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", ®s, 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