diff options
author | Keir Fraser <keir@xen.org> | 2010-11-18 11:45:33 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-11-18 11:45:33 +0000 |
commit | 652ec2d1ec8c2c79dce01dc9136c0dfefeabc13e (patch) | |
tree | 5c31a11a97e5c3143712dd2c4dfc2e3da5a38505 /xen/common/softirq.c | |
parent | c03ec255cdfe2ee762e27be80132ee240be50314 (diff) | |
download | xen-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.c | 1 |
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> |