diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-03 14:32:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-03 14:32:04 -0800 |
commit | b24746c7be75384d182845375c96433d713981bb (patch) | |
tree | fdb0371d9e59c94e18c946a88c4aa3bcfa4af9b1 /kernel/rcutree.c | |
parent | f41bf2ab998daaa2ac27348d5813e0ae21c57ded (diff) | |
parent | a682604838763981613e42015cd0e39f2989d6bb (diff) | |
download | talos-op-linux-b24746c7be75384d182845375c96433d713981bb.tar.gz talos-op-linux-b24746c7be75384d182845375c96433d713981bb.zip |
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
rcu: Teach RCU that idle task is not quiscent state at boot
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index b2fd602a6f6f..97ce31579ec0 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -948,8 +948,8 @@ static void rcu_do_batch(struct rcu_data *rdp) void rcu_check_callbacks(int cpu, int user) { if (user || - (idle_cpu(cpu) && !in_softirq() && - hardirq_count() <= (1 << HARDIRQ_SHIFT))) { + (idle_cpu(cpu) && rcu_scheduler_active && + !in_softirq() && hardirq_count() <= (1 << HARDIRQ_SHIFT))) { /* * Get here if this CPU took its interrupt from user |