summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Dike <jdike@uml.karaya.com>2002-12-16 14:44:15 -0500
committerJeff Dike <jdike@uml.karaya.com>2002-12-16 14:44:15 -0500
commit2e7fa3fb6089f4c7f847d919cb9806f86836bc7f (patch)
tree752ac0dd246245052e96876fd125442f205287bc /include
parent8ca27771a41912736d295043ff99c051d6be6e8c (diff)
Applied updates from 2.5.51 and 2.5.52.
Diffstat (limited to 'include')
-rw-r--r--include/asm-um/thread_info.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/asm-um/thread_info.h b/include/asm-um/thread_info.h
index 1cb0f45359f5..bd3f4fe40c6b 100644
--- a/include/asm-um/thread_info.h
+++ b/include/asm-um/thread_info.h
@@ -20,14 +20,9 @@ struct thread_info {
mm_segment_t addr_limit; /* thread address space:
0-0xBFFFFFFF for user
0-0xFFFFFFFF for kernel */
+ struct restart_block restart_block;
};
-/*
- * macros/functions for gaining access to the thread information structure
- *
- * preempt_count needs to be 1 initially, until the scheduler is functional.
- */
-
#define INIT_THREAD_INFO(tsk) \
{ \
task: &tsk, \
@@ -36,6 +31,9 @@ struct thread_info {
cpu: 0, \
preempt_count: 1, \
addr_limit: KERNEL_DS, \
+ restart_block: { \
+ fn: do_no_restart_syscall, \
+ }, \
}
#define init_thread_info (init_thread_union.thread_info)