git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd41: introduce nfs4_client cl_sessions list
[pandora-kernel.git]
/
kernel
/
rcupreempt.c
diff --git
a/kernel/rcupreempt.c
b/kernel/rcupreempt.c
index
33cfc50
..
5d59e85
100644
(file)
--- a/
kernel/rcupreempt.c
+++ b/
kernel/rcupreempt.c
@@
-1181,6
+1181,9
@@
void __synchronize_sched(void)
{
struct rcu_synchronize rcu;
+ if (num_online_cpus() == 1)
+ return; /* blocking is gp if only one CPU! */
+
init_completion(&rcu.completion);
/* Will wake me after RCU finished. */
call_rcu_sched(&rcu.head, wakeme_after_rcu);