patch-2.1.110 linux/include/linux/sched.h

Next file: linux/include/linux/videodev.h
Previous file: linux/include/linux/random.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -208,9 +208,9 @@
 						0-0xFFFFFFFF for kernel-thread
 					 */
 	struct exec_domain *exec_domain;
+	long need_resched;
 
 /* various fields */
-	long debugreg[8];  /* Hardware debugging registers */
 	long counter;
 	long priority;
 	struct linux_binfmt *binfmt;
@@ -337,8 +337,7 @@
  * your own risk!. Base=0, limit=0x1fffff (=2MB)
  */
 #define INIT_TASK \
-/* state etc */	{ 0,0,0,KERNEL_DS,&default_exec_domain, \
-/* debugregs */ { 0, },            \
+/* state etc */	{ 0,0,0,KERNEL_DS,&default_exec_domain,0, \
 /* counter */	DEF_PRIORITY,DEF_PRIORITY, \
 /* binfmt */	NULL, \
 /* schedlink */	&init_task,&init_task, &init_task, &init_task, \
@@ -448,7 +447,6 @@
 extern unsigned long itimer_ticks;
 extern unsigned long itimer_next;
 extern struct timeval xtime;
-extern int need_resched;
 extern void do_timer(struct pt_regs *);
 
 extern unsigned int * prof_buffer;

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