Don't include "opt_cpu.h" in <machine/clock.h>, since this breaks lkm's.

The change breaks kern_clock.c; fix that temporarily by including
"opt_cpu.h" there.
This commit is contained in:
bde 1996-10-10 10:25:26 +00:00
parent 8a6d1d1414
commit 9ec665ba76
5 changed files with 11 additions and 9 deletions

View File

@ -3,14 +3,12 @@
* Garrett Wollman, September 1994.
* This file is in the public domain.
*
* $Id: clock.h,v 1.16 1996/08/02 21:16:13 bde Exp $
* $Id: clock.h,v 1.17 1996/10/09 19:47:26 bde Exp $
*/
#ifndef _MACHINE_CLOCK_H_
#define _MACHINE_CLOCK_H_
#include "opt_cpu.h"
#if defined(I586_CPU) || defined(I686_CPU)
/*

View File

@ -3,14 +3,12 @@
* Garrett Wollman, September 1994.
* This file is in the public domain.
*
* $Id: clock.h,v 1.16 1996/08/02 21:16:13 bde Exp $
* $Id: clock.h,v 1.17 1996/10/09 19:47:26 bde Exp $
*/
#ifndef _MACHINE_CLOCK_H_
#define _MACHINE_CLOCK_H_
#include "opt_cpu.h"
#if defined(I586_CPU) || defined(I686_CPU)
/*

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
* $Id: kern_clock.c,v 1.25 1996/06/23 17:40:42 bde Exp $
* $Id: kern_clock.c,v 1.26 1996/07/30 16:59:22 bde Exp $
*/
/* Portions of this software are covered by the following: */
@ -56,6 +56,8 @@
* *
*****************************************************************************/
#include "opt_cpu.h" /* XXX */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/dkstat.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
* $Id: kern_clock.c,v 1.25 1996/06/23 17:40:42 bde Exp $
* $Id: kern_clock.c,v 1.26 1996/07/30 16:59:22 bde Exp $
*/
/* Portions of this software are covered by the following: */
@ -56,6 +56,8 @@
* *
*****************************************************************************/
#include "opt_cpu.h" /* XXX */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/dkstat.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
* $Id: kern_clock.c,v 1.25 1996/06/23 17:40:42 bde Exp $
* $Id: kern_clock.c,v 1.26 1996/07/30 16:59:22 bde Exp $
*/
/* Portions of this software are covered by the following: */
@ -56,6 +56,8 @@
* *
*****************************************************************************/
#include "opt_cpu.h" /* XXX */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/dkstat.h>