X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=kernel%2Frcutree.c;h=97ce31579ec0664682e1b2efb792cd77e7c0030e;hb=1485c5c88483d200c9c4c71ed7e8eef1a1e317a1;hp=b2fd602a6f6f0433553a36a79e3a24172a8a2a2f;hpb=c9de36f2a230919bee95f05ba27ed10ce4850409;p=linux-2.6-omap-h63xx.git diff --git a/kernel/rcutree.c b/kernel/rcutree.c index b2fd602a6f6..97ce31579ec 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