patch-2.1.121 linux/include/asm-arm/processor.h

Next file: linux/include/asm-arm/signal.h
Previous file: linux/include/asm-arm/proc-fns.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.120/linux/include/asm-arm/processor.h linux/include/asm-arm/processor.h
@@ -22,12 +22,15 @@
 
 typedef unsigned long mm_segment_t;		/* domain register	*/
 
+#define NR_DEBUGS	5
+
 #define DECLARE_THREAD_STRUCT							\
 struct thread_struct {								\
 	unsigned long	address;		/* Address of fault	*/	\
 	unsigned long	trap_no;		/* Trap number		*/	\
 	unsigned long	error_code;		/* Error code of trap	*/	\
 	union fp_state	fpstate;		/* FPE save state	*/	\
+	unsigned long	debug[NR_DEBUGS];	/* Debug/ptrace		*/	\
 	EXTRA_THREAD_STRUCT							\
 }
 
@@ -39,6 +42,7 @@
 	0,				\
 	0,				\
 	{ { { 0, }, }, },		\
+	{ 0, },				\
 	EXTRA_THREAD_STRUCT_INIT	\
 }
 

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