Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Love <rml@tech9.net>2002-02-09 23:46:03 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-02-09 23:46:03 -0800
commit2c9a6b3cac3ddfd47d4cdaea73a94958950fc613 (patch)
tree9cc0415000d53754ca2d6894b8988cec1078d361
parent987562211dd19bb1ee87cfc740da2bb535b20292 (diff)
[PATCH] preempt-kernel on UP compile fix
A recent scheduler change looks to of affected this, and I missed it since I did my last testing on SMP only. Please, apply. Robert Love
-rw-r--r--include/asm-i386/smplock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/smplock.h b/include/asm-i386/smplock.h
index 199084cce08f..e1d592575a19 100644
--- a/include/asm-i386/smplock.h
+++ b/include/asm-i386/smplock.h
@@ -15,6 +15,7 @@ extern spinlock_t kernel_flag;
#else
#ifdef CONFIG_PREEMPT
#define kernel_locked() preempt_get_count()
+#define global_irq_holder 0
#else
#define kernel_locked() 1
#endif