From db33b1d449dd768d1b0dae8a66454b34512903ae Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Mon, 9 Feb 1998 15:04:39 +0000 Subject: [PATCH] Sync with sys/i386/i386/machdep.c revision 1.289. --- sys/pc98/i386/machdep.c | 10 +++++----- sys/pc98/pc98/machdep.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index d4ac0e861531..40cf857253a7 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.75 1998/02/05 10:05:43 kato Exp $ + * $Id: machdep.c,v 1.76 1998/02/06 12:13:59 eivind Exp $ */ #include "apm.h" @@ -1618,13 +1618,13 @@ init386(first) } #if defined(I586_CPU) && !defined(NO_F00F_HACK) -void f00f_hack(void); +static void f00f_hack(void *unused); SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL); -void -f00f_hack(void) { +static void +f00f_hack(void *unused) { struct region_descriptor r_idt; - unsigned char *tmp; + vm_offset_t tmp; int i; if (!has_f00f_bug) diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index d4ac0e861531..40cf857253a7 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.75 1998/02/05 10:05:43 kato Exp $ + * $Id: machdep.c,v 1.76 1998/02/06 12:13:59 eivind Exp $ */ #include "apm.h" @@ -1618,13 +1618,13 @@ init386(first) } #if defined(I586_CPU) && !defined(NO_F00F_HACK) -void f00f_hack(void); +static void f00f_hack(void *unused); SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL); -void -f00f_hack(void) { +static void +f00f_hack(void *unused) { struct region_descriptor r_idt; - unsigned char *tmp; + vm_offset_t tmp; int i; if (!has_f00f_bug)