diff options
author | 2009-02-06 13:35:44 -0800 | |
---|---|---|
committer | 2009-02-16 08:55:50 +0100 | |
commit | 9033304a1520df346862c95743a6c2023f21f057 (patch) | |
tree | f5a89819a38878d92f6234f3aa6f7c4b1726ab68 /include | |
parent | Merge branches 'x86/paravirt', 'x86/pat', 'x86/setup-v2', 'x86/subarch', 'x86/uaccess' and 'x86/urgent' into x86/core (diff) | |
download | wireguard-linux-9033304a1520df346862c95743a6c2023f21f057.tar.xz wireguard-linux-9033304a1520df346862c95743a6c2023f21f057.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions