summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2002-04-04 02:37:02 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-04-04 02:37:02 -0800
commitb6ce34a9366c69fa20fa0a20d92e7de411303b58 (patch)
tree1781d9b2cfec5730ee770ed6f6eeb0d1350c8cd5 /include
parentdf6e3433e609824df19af14384fba06d5dfd2f78 (diff)
Make the assembly-level code match the preempt_sched
changes
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/thread_info.h2
-rw-r--r--include/linux/sched.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-i386/thread_info.h b/include/asm-i386/thread_info.h
index 0359b0948f97..b6948b3c8c26 100644
--- a/include/asm-i386/thread_info.h
+++ b/include/asm-i386/thread_info.h
@@ -47,6 +47,8 @@ struct thread_info {
#endif
+#define PREEMPT_ACTIVE 0x4000000
+
/*
* macros/functions for gaining access to the thread information structure
*/
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 99d74ed7db5c..024e34706cc9 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -91,7 +91,6 @@ extern unsigned long nr_running(void);
#define TASK_UNINTERRUPTIBLE 2
#define TASK_ZOMBIE 4
#define TASK_STOPPED 8
-#define PREEMPT_ACTIVE 0x4000000
#define __set_task_state(tsk, state_value) \
do { (tsk)->state = (state_value); } while (0)