aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/softirq.c
diff options
context:
space:
mode:
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-26 18:34:36 +0000
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-26 18:34:36 +0000
commit9c8c190b9ba02147eed4e9d4298284ab10c876b1 (patch)
treedcd5adae7ab76cb001fb1e2cf8ac49ba84c8d3ff /xen/common/softirq.c
parent8536211db6656ac55bb97a84870a3efdf878bb46 (diff)
downloadxen-9c8c190b9ba02147eed4e9d4298284ab10c876b1.tar.gz
xen-9c8c190b9ba02147eed4e9d4298284ab10c876b1.tar.bz2
xen-9c8c190b9ba02147eed4e9d4298284ab10c876b1.zip
Add RCU support to Xen.
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
Diffstat (limited to 'xen/common/softirq.c')
-rw-r--r--xen/common/softirq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/common/softirq.c b/xen/common/softirq.c
index fb220694fe..b6c2b18886 100644
--- a/xen/common/softirq.c
+++ b/xen/common/softirq.c
@@ -13,6 +13,7 @@
#include <xen/init.h>
#include <xen/mm.h>
#include <xen/sched.h>
+#include <xen/rcupdate.h>
#include <xen/softirq.h>
#ifndef __ARCH_IRQ_STAT
@@ -33,6 +34,10 @@ asmlinkage void do_softirq(void)
* us to another processor.
*/
cpu = smp_processor_id();
+
+ if ( rcu_pending(cpu) )
+ rcu_check_callbacks(cpu);
+
if ( (pending = softirq_pending(cpu)) == 0 )
break;