diff options
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/xen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xen/xen.h b/include/xen/xen.h index 2c0d3a56c74..a74d4362c4f 100644 --- a/include/xen/xen.h +++ b/include/xen/xen.h @@ -24,7 +24,7 @@ extern enum xen_domain_type xen_domain_type; #include <asm/xen/hypervisor.h> #define xen_initial_domain() (xen_domain() && \ - xen_start_info->flags & SIF_INITDOMAIN) + xen_start_info && xen_start_info->flags & SIF_INITDOMAIN) #else /* !CONFIG_XEN_DOM0 */ #define xen_initial_domain() (0) #endif /* CONFIG_XEN_DOM0 */ |