From: Jeremy Fitzhardinge Date: Fri, 6 Feb 2009 21:35:44 +0000 (-0800) Subject: x86, xen: short-circuit tests for dom0 X-Git-Tag: v2.6.30-rc1~211^2~26^2~2^7~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9033304a1520df346862c95743a6c2023f21f057;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed