android_kernel_xiaomi_sm8350/arch/x86/include/asm/xen
Jeremy Fitzhardinge 9033304a15 x86, xen: short-circuit tests for dom0
When testing for a dom0/initial/privileged domain, make sure the
predicate evaluates to a compile-time 0 if CONFIG_XEN_DOM0 isn't
enabled.  This will make most of the dom0 code evaporate without
much more effort.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-02-16 08:55:50 +01:00
..
events.h xen: use our own eventchannel->irq path 2009-02-09 12:17:30 +01:00
grant_table.h x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
hypercall.h xen: clean up asm/xen/hypervisor.h 2008-12-16 21:50:31 +01:00
hypervisor.h x86, xen: short-circuit tests for dom0 2009-02-16 08:55:50 +01:00
interface_32.h x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
interface_64.h x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
interface.h x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
page.h x86: don't apply __supported_pte_mask to non-present ptes 2009-02-04 21:33:09 -08:00