1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Remove warnings from f00f_hack.

This commit is contained in:
Eivind Eklund 1998-02-09 04:45:53 +00:00
parent f4002e8278
commit 5589ae9dfd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33179
2 changed files with 10 additions and 10 deletions

View File

@ -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)

View File

@ -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)