[parisc-linux-cvs] linux-2.5 deller

Helge Deller deller@gmx.de
Sun, 21 Jul 2002 01:29:54 +0200


--Boundary-00=_yJfO9sWdKYKo5Mw
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

On Sunday 21 July 2002 01:26, Helge Deller wrote:
> CVSROOT:	/var/cvs
> Module name:	linux-2.5
> Changes by:	deller	02/07/20 17:26:30
>
> Modified files:
> 	include/asm-parisc: thread_info.h
>
> Log message:
> added "struct task_struct *task;" to thread_info struct.
> (no idea if this breaks any asm code...)

--Boundary-00=_yJfO9sWdKYKo5Mw
Content-Type: text/plain;
  charset="iso-8859-1";
  name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff"

Index: thread_info.h
===================================================================
RCS file: /var/cvs/linux-2.5/include/asm-parisc/thread_info.h,v
retrieving revision 1.2
diff -u -p -r1.2 thread_info.h
--- thread_info.h	20 Jul 2002 21:40:12 -0000	1.2
+++ thread_info.h	20 Jul 2002 23:25:25 -0000
@@ -15,6 +15,7 @@
  * without having to do pointer masking.
  */
 struct thread_info {
+	struct task_struct *task;	/* main task structure */
 	struct exec_domain *exec_domain;/* execution domain */
 	__u32 flags;			/* thread_info flags (see TIF_*) */
 	__u32 cpu;			/* current CPU */
@@ -27,8 +28,9 @@ struct thread_info {
 
 #define THREAD_SIZE	(4*PAGE_SIZE)
 
-#define INIT_THREAD_INFO(ti)			\
+#define INIT_THREAD_INFO(tsk)			\
 {						\
+	task:		&tsk,			\
 	exec_domain:	&default_exec_domain,	\
 	flags:		0,			\
 	cpu:		0,			\

--Boundary-00=_yJfO9sWdKYKo5Mw--