|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUIL
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
|
|
|
|
|