ia64/xen-unstable

changeset 11815:3e1571489789

[IA64] warning fix for HVM PV driver

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Tue Oct 17 14:29:33 2006 -0600 (2006-10-17)
parents 15fa2785ef1c
children c5ddcf89f050
files linux-2.6-xen-sparse/arch/ia64/xen/xencomm.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/xencomm.c	Tue Oct 17 14:25:25 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xencomm.c	Tue Oct 17 14:29:33 2006 -0600
     1.3 @@ -36,8 +36,10 @@ xencomm_init (void)
     1.4  unsigned long
     1.5  xencomm_vaddr_to_paddr(unsigned long vaddr)
     1.6  {
     1.7 +#ifndef CONFIG_VMX_GUEST
     1.8  	struct page *page;
     1.9  	struct vm_area_struct *vma;
    1.10 +#endif
    1.11  
    1.12  	if (vaddr == 0)
    1.13  		return 0;