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

Next file: linux/include/linux/socket.h
Previous file: linux/include/linux/rose.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -269,6 +269,7 @@
 
 #define PF_USEDFPU	0x00100000	/* Process used the FPU this quantum (SMP only) */
 #define PF_DTRACE	0x00200000	/* delayed trace (used on m68k) */
+#define PF_ONSIGSTK	0x00400000	/* works on signal stack (m68k only) */
 
 /*
  * Limit the stack by to some sane default: root can always
@@ -370,7 +371,7 @@
 	return 0;
 }
 
-extern void copy_thread(int, unsigned long, unsigned long, struct task_struct *, struct pt_regs *);
+extern int  copy_thread(int, unsigned long, unsigned long, struct task_struct *, struct pt_regs *);
 extern void flush_thread(void);
 extern void exit_thread(void);
 

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