summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-03-25 05:24:21 +0100
committerKyle McMartin <kyle@hera.kernel.org>2006-03-30 19:48:54 +0200
commit50a34dbd612925f2ec55b1781632835ef36b97d5 (patch)
tree1624f33bdbdd367efb8fadebe80da7db275ea1e6 /include/asm-parisc
parent[PARISC] More useful readwrite lock helpers (diff)
downloadlinux-50a34dbd612925f2ec55b1781632835ef36b97d5.tar.xz
linux-50a34dbd612925f2ec55b1781632835ef36b97d5.zip
[PARISC] Add PREEMPT support
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r--include/asm-parisc/thread_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-parisc/thread_info.h b/include/asm-parisc/thread_info.h
index ac32f140b83a..f2f83b04cd8b 100644
--- a/include/asm-parisc/thread_info.h
+++ b/include/asm-parisc/thread_info.h
@@ -49,7 +49,8 @@ struct thread_info {
#endif /* !__ASSEMBLY */
-#define PREEMPT_ACTIVE 0x10000000
+#define PREEMPT_ACTIVE_BIT 28
+#define PREEMPT_ACTIVE (1 << PREEMPT_ACTIVE_BIT)
/*
* thread information flags