direct-io.hg

changeset 10235:25483d9b55d4

[IA64] fix up a few more warnings

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Wed May 31 16:07:47 2006 -0600 (2006-05-31)
parents 671e8bd80d9a
children 09d9d6e7b985 b8711fcb1e95
files linux-2.6-xen-sparse/arch/ia64/kernel/setup.c linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c	Wed May 31 14:34:33 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c	Wed May 31 16:07:47 2006 -0600
     1.3 @@ -931,8 +931,10 @@ cpu_init (void)
     1.4  	platform_cpu_init();
     1.5  #ifdef CONFIG_XEN
     1.6  	/* Need to be moved into platform_cpu_init later */
     1.7 -	if (is_running_on_xen())
     1.8 +	if (is_running_on_xen()) {
     1.9 +		extern void xen_smp_intr_init(void);
    1.10  		xen_smp_intr_init();
    1.11 +	}
    1.12  #endif
    1.13  	pm_idle = default_idle;
    1.14  }
     2.1 --- a/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h	Wed May 31 14:34:33 2006 -0600
     2.2 +++ b/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h	Wed May 31 16:07:47 2006 -0600
     2.3 @@ -168,6 +168,7 @@ extern void xen_eoi(void);
     2.4  extern void xen_set_rr(unsigned long index, unsigned long val);
     2.5  extern unsigned long xen_get_rr(unsigned long index);
     2.6  extern void xen_set_kr(unsigned long index, unsigned long val);
     2.7 +extern void xen_ptcga(unsigned long addr, unsigned long size);
     2.8  
     2.9  /* Note: It may look wrong to test for is_running_on_xen() in each case.
    2.10   * However regnum is always a constant so, as written, the compiler