WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUIL

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.3a
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