aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/softirq.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-11-18 11:45:33 +0000
committerKeir Fraser <keir@xen.org>2010-11-18 11:45:33 +0000
commit652ec2d1ec8c2c79dce01dc9136c0dfefeabc13e (patch)
tree5c31a11a97e5c3143712dd2c4dfc2e3da5a38505 /xen/common/softirq.c
parentc03ec255cdfe2ee762e27be80132ee240be50314 (diff)
downloadxen-652ec2d1ec8c2c79dce01dc9136c0dfefeabc13e.tar.gz
xen-652ec2d1ec8c2c79dce01dc9136c0dfefeabc13e.tar.bz2
xen-652ec2d1ec8c2c79dce01dc9136c0dfefeabc13e.zip
Define Linux-style <preempt.h> interface.
Use it to disable sleeping in spinlock and rcu-read regions. Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/softirq.c')
-rw-r--r--xen/common/softirq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/common/softirq.c b/xen/common/softirq.c
index fb5fcd147d..30559ce7b2 100644
--- a/xen/common/softirq.c
+++ b/xen/common/softirq.c
@@ -12,6 +12,7 @@
#include <xen/config.h>
#include <xen/init.h>
#include <xen/mm.h>
+#include <xen/preempt.h>
#include <xen/sched.h>
#include <xen/rcupdate.h>
#include <xen/softirq.h>