summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2002-12-27 19:10:37 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-27 19:10:37 -0800
commitbecd81801f5113f6815660fa2d86ed8e52dfe382 (patch)
treea8f73bf4f1876da6bcbb9c0b0519854ad5e2e26b /include
parent3fd48cb0ab743ab57b9a33f4c1b56f7ed89da7ca (diff)
[PATCH] M68k thread_info.restart_block
M68k: add restart_block field to struct thread_info (needed for 2.5.51)
Diffstat (limited to 'include')
-rw-r--r--include/asm-m68k/thread_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-m68k/thread_info.h b/include/asm-m68k/thread_info.h
index 55244ef06d37..49988674166f 100644
--- a/include/asm-m68k/thread_info.h
+++ b/include/asm-m68k/thread_info.h
@@ -10,6 +10,7 @@ struct thread_info {
struct exec_domain *exec_domain; /* execution domain */
__s32 preempt_count; /* 0 => preemptable, <0 => BUG */
__u32 cpu; /* should always be 0 on m68k */
+ struct restart_block restart_block;
__u8 supervisor_stack[0];
};
@@ -20,6 +21,9 @@ struct thread_info {
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
+ .restart_block = { \
+ .fn = do_no_restart_syscall, \
+ }, \
}
/* THREAD_SIZE should be 8k, so handle differently for 4k and 8k machines */