From c89161c65f55a0ee8969ad13f2bf4d7cf1244cf6 Mon Sep 17 00:00:00 2001 From: fvdl Date: Tue, 4 Mar 2003 23:21:25 +0000 Subject: [PATCH] ioapic address is not actually a pointer, initialize it as uint32_t --- sys/arch/x86/x86/mpbios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/x86/x86/mpbios.c b/sys/arch/x86/x86/mpbios.c index 8e0abe829111..c5066abaa004 100644 --- a/sys/arch/x86/x86/mpbios.c +++ b/sys/arch/x86/x86/mpbios.c @@ -1,4 +1,4 @@ -/* $NetBSD: mpbios.c,v 1.2 2003/03/04 22:19:04 fvdl Exp $ */ +/* $NetBSD: mpbios.c,v 1.3 2003/03/04 23:21:25 fvdl Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -130,7 +130,7 @@ static struct mpbios_ioapic default_ioapic = { - 2,0,1,IOAPICENTRY_FLAG_EN,(caddr_t)IOAPIC_BASE_DEFAULT + 2,0,1,IOAPICENTRY_FLAG_EN,(u_int32_t)IOAPIC_BASE_DEFAULT }; /* descriptions of MP basetable entries */