Commit 2c9a6b3c authored by Robert Love's avatar Robert Love Committed by Linus Torvalds

[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
parent 98756221
...@@ -15,6 +15,7 @@ extern spinlock_t kernel_flag; ...@@ -15,6 +15,7 @@ extern spinlock_t kernel_flag;
#else #else
#ifdef CONFIG_PREEMPT #ifdef CONFIG_PREEMPT
#define kernel_locked() preempt_get_count() #define kernel_locked() preempt_get_count()
#define global_irq_holder 0
#else #else
#define kernel_locked() 1 #define kernel_locked() 1
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment