[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Vipin Bhargava" <vipin@xxxxxxxxxxxxxxx>
  • Date: Mon, 23 May 2005 10:23:11 -0600 (MDT)
  • Delivery-date: Mon, 23 May 2005 18:51:00 +0000
  • Importance: Normal
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Using FC3 x86_64 and doing "make ARCH=xen world", I get the
following:

  CC      arch/xen/x86_64/kernel/mpparse.o
arch/xen/x86_64/kernel/mpparse.c: In function `get_smp_config':
arch/xen/x86_64/kernel/mpparse.c:549: error:
`isa_bus_to_virt_needs_PRIVILEGED_BUILD' undeclared (first use in this
function)
arch/xen/x86_64/kernel/mpparse.c:549: error: (Each undeclared identifier
is reported only once
arch/xen/x86_64/kernel/mpparse.c:549: error: for each function it appears
in.)
arch/xen/x86_64/kernel/mpparse.c: In function `smp_scan_config':
arch/xen/x86_64/kernel/mpparse.c:585: error:
`isa_bus_to_virt_needs_PRIVILEGED_BUILD' undeclared (first use in this
function)
make[4]: *** [arch/xen/x86_64/kernel/mpparse.o] Error 1
make[3]: *** [arch/xen/x86_64/kernel] Error 2
make[3]: Leaving directory
`/home/vipin/xen-src/xen-unstable/linux-2.6.11-xenU'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/vipin/xen-src/xen-unstable'
make[1]: *** [linux-2.6-xenU-build] Error 2
make[1]: Leaving directory `/home/vipin/xen-src/xen-unstable'
make: *** [kernels] Error 1

On a complete guess -
The .config shows:
 # CONFIG_XEN_PHYSDEV_ACCESS is not set

Why does include/asm-xen/asm-x86_64/io.h not seem to do this
properly with:

#ifdef CONFIG_XEN_PHYSDEV_ACCESS
#define isa_bus_to_virt(_x) (void *)(__fix_to_virt(FIX_ISAMAP_BEGIN) + (_x))
#else
#define isa_bus_to_virt(_x) isa_bus_to_virt_needs_PRIVILEGED_BUILD
#endif

xen0 compiles fine.

Vip



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.