ia64/xen-unstable

changeset 12004:cf05aabe6e65

[LIBXC][IA64] fix build warning

With warnings becoming errors, this fixes the libxc build on ia64

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Wed Oct 25 15:29:00 2006 -0600 (2006-10-25)
parents fd1d742487f8
children 01b257e72d5e af2155df2aed 8a4c9ff5fa42
files tools/libxc/xc_linux_build.c tools/libxc/xenctrl.h
line diff
     1.1 --- a/tools/libxc/xc_linux_build.c	Wed Oct 25 14:48:55 2006 -0600
     1.2 +++ b/tools/libxc/xc_linux_build.c	Wed Oct 25 15:29:00 2006 -0600
     1.3 @@ -446,8 +446,6 @@ static int setup_pg_tables_64(int xc_han
     1.4  #endif
     1.5  
     1.6  #ifdef __ia64__
     1.7 -extern unsigned long xc_ia64_fpsr_default(void);
     1.8 -
     1.9  static int setup_guest(int xc_handle,
    1.10                         uint32_t dom,
    1.11                         const char *image, unsigned long image_size,
     2.1 --- a/tools/libxc/xenctrl.h	Wed Oct 25 14:48:55 2006 -0600
     2.2 +++ b/tools/libxc/xenctrl.h	Wed Oct 25 15:29:00 2006 -0600
     2.3 @@ -525,6 +525,8 @@ unsigned long xc_translate_foreign_addre
     2.4  int xc_get_pfn_list(int xc_handle, uint32_t domid, xen_pfn_t *pfn_buf,
     2.5                      unsigned long max_pfns);
     2.6  
     2.7 +unsigned long xc_ia64_fpsr_default(void);
     2.8 +
     2.9  int xc_ia64_get_pfn_list(int xc_handle, uint32_t domid,
    2.10                           xen_pfn_t *pfn_buf,
    2.11                           unsigned int start_page, unsigned int nr_pages);