aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/preempt.c
Commit message (Collapse)AuthorAgeFilesLines
* xen: Introduce ASSERT_NOT_IN_ATOMIC() to give more info on in_atomic() crash.Keir Fraser2013-01-141-3/+6
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* x86: Assert !in_atomic() before exiting to guest context.Keir Fraser2013-01-141-0/+6
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* Simplify preempt.h dependencies by moving in_atomic() to preempt.cKeir Fraser2011-06-231-0/+7
| | | | | | ..clean up the ensuing fallout. Signed-off-by: Keir Fraser <keir@xen.org>
* Define Linux-style <preempt.h> interface.Keir Fraser2010-11-181-0/+25
Use it to disable sleeping in spinlock and rcu-read regions. Signed-off-by: Keir Fraser <keir@xen.org>