aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/mpparse.c
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-07-05 15:01:15 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-07-05 15:01:15 +0000
commit393024529af7c699a3ec17ad40d7935e80b8fa13 (patch)
tree5ffe64dd4452320cdf59fbc9cb32f17d7389e3f6 /xen/arch/x86/mpparse.c
parent4d106af12c2d4b9b0a6dc2bca6f5d2924752b910 (diff)
downloadxen-393024529af7c699a3ec17ad40d7935e80b8fa13.tar.gz
xen-393024529af7c699a3ec17ad40d7935e80b8fa13.tar.bz2
xen-393024529af7c699a3ec17ad40d7935e80b8fa13.zip
bitkeeper revision 1.1041.6.6 (40e96d3bioFNWNS55cowRl9PXLQZ9Q)
More x86-64 stuff.
Diffstat (limited to 'xen/arch/x86/mpparse.c')
-rw-r--r--xen/arch/x86/mpparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/mpparse.c b/xen/arch/x86/mpparse.c
index ae1e1da93b..d10e4ce9dd 100644
--- a/xen/arch/x86/mpparse.c
+++ b/xen/arch/x86/mpparse.c
@@ -458,7 +458,7 @@ static int __init smp_read_mpc(struct mp_config_table *mpc)
if ((clustered_apic_mode == CLUSTERED_APIC_NUMAQ) && mpc->mpc_oemptr) {
/* We need to process the oem mpc tables to tell us which quad things are in ... */
mpc_record = 0;
- smp_read_mpc_oem((struct mp_config_oemtable *) mpc->mpc_oemptr, mpc->mpc_oemsize);
+ smp_read_mpc_oem((struct mp_config_oemtable *)(unsigned long)mpc->mpc_oemptr, mpc->mpc_oemsize);
mpc_record = 0;
}
@@ -824,7 +824,7 @@ void __init get_smp_config (void)
* Read the physical hardware table. Anything here will
* override the defaults.
*/
- if (!smp_read_mpc((void *)mpf->mpf_physptr)) {
+ if (!smp_read_mpc((void *)(unsigned long)mpf->mpf_physptr)) {
smp_found_config = 0;
printk(KERN_ERR "BIOS bug, MP table errors detected!...\n");
printk(KERN_ERR "... disabling SMP support. (tell your hw vendor)\n");