patch-2.4.0-test9 linux/include/asm-arm/proc-armo/ptrace.h

Next file: linux/include/asm-arm/proc-armo/shmparam.h
Previous file: linux/include/asm-arm/proc-armo/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-arm/proc-armo/ptrace.h linux/include/asm-arm/proc-armo/ptrace.h
@@ -1,7 +1,11 @@
 /*
- * linux/include/asm-arm/proc-armo/ptrace.h
+ *  linux/include/asm-arm/proc-armo/ptrace.h
  *
- * Copyright (C) 1996-1999 Russell King
+ *  Copyright (C) 1996-1999 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
  */
 #ifndef __ASM_PROC_PTRACE_H
 #define __ASM_PROC_PTRACE_H
@@ -53,6 +57,8 @@
 
 #define user_mode(regs) \
 	(processor_mode(regs) == USR26_MODE)
+
+#define thumb_mode(regs) (0)
 
 #define interrupts_enabled(regs) \
 	(!((regs)->ARM_pc & I_BIT))

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