direct-io.hg

changeset 11150:fda70200da01

[LINUX] Define is_initial_xendomain() to zero for HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
author kfraser@localhost.localdomain
date Wed Aug 16 16:16:32 2006 +0100 (2006-08-16)
parents 00a70786e550
children 0f917d63e960 f2151423f729
files linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h	Wed Aug 16 16:15:46 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h	Wed Aug 16 16:16:32 2006 +0100
     1.3 @@ -58,7 +58,11 @@ extern shared_info_t *HYPERVISOR_shared_
     1.4  
     1.5  /* arch/xen/i386/kernel/setup.c */
     1.6  extern start_info_t *xen_start_info;
     1.7 +#ifdef CONFIG_XEN
     1.8  #define is_initial_xendomain() (xen_start_info->flags & SIF_INITDOMAIN)
     1.9 +#else
    1.10 +#define is_initial_xendomain() 0
    1.11 +#endif
    1.12  
    1.13  /* arch/xen/kernel/evtchn.c */
    1.14  /* Force a proper event-channel callback from Xen. */