diff options
| author | Eivind Eklund <eivind@FreeBSD.org> | 1998-02-09 04:45:53 +0000 |
|---|---|---|
| committer | Eivind Eklund <eivind@FreeBSD.org> | 1998-02-09 04:45:53 +0000 |
| commit | 5589ae9dfdee9d16cfb07ceac1920bb74de71ae8 (patch) | |
| tree | f2c3f8fa9e88a5cd84d0d3b523947773c056445e | |
| parent | f4002e82786db3809d5f65ec165f4bfcd199f15e (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/machdep.c | 10 | ||||
| -rw-r--r-- | sys/i386/i386/machdep.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 4ea59b1f4e90..5c4f2b8300b8 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.287 1998/02/04 22:32:08 eivind Exp $ + * $Id: machdep.c,v 1.288 1998/02/06 12:13:08 eivind Exp $ */ #include "apm.h" @@ -1559,13 +1559,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/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 4ea59b1f4e90..5c4f2b8300b8 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.287 1998/02/04 22:32:08 eivind Exp $ + * $Id: machdep.c,v 1.288 1998/02/06 12:13:08 eivind Exp $ */ #include "apm.h" @@ -1559,13 +1559,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) |
