Log message:
M68k: Add missing pieces of thread info TIF_MEMDIE support (introduced in
2.6.11-rc3)
Modified files:
linux/include/asm-m68k:
processor.h thread_info.h
Index: linux/include/asm-m68k/processor.h
Stats: 3 modifications
http://linux-m68k-cvs.ubb.ca/c/cvsweb/linux/include/asm%2dm68k/processor%2eh.diff?r1=1.13&r2=1.14
========================================================================
--- processor.h 1 Feb 2004 20:03:16 -0000 1.13
+++ processor.h 20 Mar 2005 20:52:40 -0000 1.14
@@ -63,7 +63,8 @@
char need_resched;
unsigned char delayed_trace; /* single step a syscall */
unsigned char syscall_trace; /* count of syscall interceptors */
- unsigned char pad[3];
+ unsigned char memdie; /* task was selected to be killed */
+ unsigned char pad[2];
};
struct thread_struct {
Index: linux/include/asm-m68k/thread_info.h
Stats: 6 insertions
http://linux-m68k-cvs.ubb.ca/c/cvsweb/linux/include/asm%2dm68k/thread_info%2eh.diff?r1=1.12&r2=1.13
========================================================================
--- thread_info.h 2 Mar 2005 23:47:59 -0000 1.12
+++ thread_info.h 20 Mar 2005 20:52:40 -0000 1.13
@@ -70,6 +70,9 @@
case TIF_SYSCALL_TRACE: \
tsk->thread.work.syscall_trace = val; \
break; \
+ case TIF_MEMDIE: \
+ tsk->thread.work.memdie = val; \
+ break; \
default: \
thread_flag_fixme(); \
} \
@@ -87,6 +90,9 @@
case TIF_SYSCALL_TRACE: \
___res = tsk->thread.work.syscall_trace;\
break; \
+ case TIF_MEMDIE: \
+ ___res = tsk->thread.work.memdie;\
+ break; \
default: \
___res = thread_flag_fixme(); \
} \
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k-cvscommit"
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html