Removed never-used #includes of <machine/cpu.h>. Many were apparently
copied from bad examples.
This commit is contained in:
parent
cfdfb3c281
commit
d75a1370e4
@ -38,7 +38,7 @@
|
||||
*
|
||||
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
|
||||
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
|
||||
* $Id: vm_machdep.c,v 1.56 1996/02/05 14:23:19 davidg Exp $
|
||||
* $Id: vm_machdep.c,v 1.57 1996/03/03 01:57:45 jkh Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -53,7 +53,6 @@
|
||||
#include <sys/vmmeter.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/md_var.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux_misc.c,v 1.16 1996/03/12 06:20:14 peter Exp $
|
||||
* $Id: linux_misc.c,v 1.17 1996/03/19 15:02:34 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -61,9 +61,6 @@
|
||||
#include <vm/vm_map.h>
|
||||
#include <vm/vm_extern.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/psl.h>
|
||||
|
||||
#include <i386/linux/linux.h>
|
||||
#include <i386/linux/linux_proto.h>
|
||||
#include <i386/linux/linux_util.h>
|
||||
|
@ -38,7 +38,7 @@
|
||||
*
|
||||
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
|
||||
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
|
||||
* $Id: vm_machdep.c,v 1.56 1996/02/05 14:23:19 davidg Exp $
|
||||
* $Id: vm_machdep.c,v 1.57 1996/03/03 01:57:45 jkh Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -53,7 +53,6 @@
|
||||
#include <sys/vmmeter.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/md_var.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_eg.c,v 1.11 1996/01/26 09:27:17 phk Exp $
|
||||
* $Id: if_eg.c,v 1.12 1996/02/06 18:50:39 wollman Exp $
|
||||
*/
|
||||
|
||||
/* To do:
|
||||
@ -74,7 +74,6 @@
|
||||
#include <net/bpfdesc.h>
|
||||
#endif
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/clock.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
|
@ -51,7 +51,6 @@
|
||||
#include <sys/devfsext.h>
|
||||
#endif /* DEVFS */
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/clock.h>
|
||||
#include <machine/qcam.h>
|
||||
|
||||
|
@ -39,7 +39,6 @@
|
||||
#if NQCAM > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/clock.h>
|
||||
#ifdef KERNEL
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* random_machdep.c -- A strong random number generator
|
||||
*
|
||||
* $Id$
|
||||
* $Id: random_machdep.c,v 1.4 1995/12/29 08:04:32 markm Exp $
|
||||
*
|
||||
* Version 0.95, last modified 18-Oct-95
|
||||
*
|
||||
@ -46,7 +46,6 @@
|
||||
#include <sys/kernel.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/random.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
|
@ -65,7 +65,6 @@
|
||||
#include <sys/devconf.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_param.h>
|
||||
|
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux_misc.c,v 1.16 1996/03/12 06:20:14 peter Exp $
|
||||
* $Id: linux_misc.c,v 1.17 1996/03/19 15:02:34 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -61,9 +61,6 @@
|
||||
#include <vm/vm_map.h>
|
||||
#include <vm/vm_extern.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/psl.h>
|
||||
|
||||
#include <i386/linux/linux.h>
|
||||
#include <i386/linux/linux_proto.h>
|
||||
#include <i386/linux/linux_util.h>
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
|
||||
* $Id: kern_exit.c,v 1.29 1996/03/11 02:24:21 hsu Exp $
|
||||
* $Id: kern_exit.c,v 1.30 1996/03/11 06:03:22 hsu Exp $
|
||||
*/
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
@ -65,7 +65,6 @@
|
||||
#include <sys/shm.h>
|
||||
#include <sys/sem.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#ifdef COMPAT_43
|
||||
#include <machine/reg.h>
|
||||
#include <machine/psl.h>
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* random_machdep.c -- A strong random number generator
|
||||
*
|
||||
* $Id$
|
||||
* $Id: random_machdep.c,v 1.4 1995/12/29 08:04:32 markm Exp $
|
||||
*
|
||||
* Version 0.95, last modified 18-Oct-95
|
||||
*
|
||||
@ -46,7 +46,6 @@
|
||||
#include <sys/kernel.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/random.h>
|
||||
|
||||
#include <i386/isa/isa.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_time.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id: kern_time.c,v 1.13 1995/12/14 08:31:37 phk Exp $
|
||||
* $Id: kern_time.c,v 1.14 1995/12/26 01:07:20 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -43,8 +43,6 @@
|
||||
#include <sys/proc.h>
|
||||
#include <sys/vnode.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
struct timezone tz;
|
||||
|
||||
/*
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* From: @(#)if_loop.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id: if_disc.c,v 1.10 1995/12/03 19:08:55 bde Exp $
|
||||
* $Id: if_disc.c,v 1.11 1996/02/06 18:51:11 wollman Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -47,7 +47,6 @@
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_types.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id: if_ethersubr.c,v 1.13 1995/12/20 21:53:40 wollman Exp $
|
||||
* $Id: if_ethersubr.c,v 1.14 1996/01/24 21:09:06 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -46,8 +46,6 @@
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: if_ethersubr.c,v 1.5 1994/12/13 22:31:45 wollman Exp
|
||||
* $Id: if_fddisubr.c,v 1.5 1995/05/30 08:08:05 rgrimes Exp $
|
||||
* $Id: if_fddisubr.c,v 1.6 1995/10/26 20:30:11 julian Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -45,8 +45,6 @@
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)if_loop.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id: if_loop.c,v 1.17 1996/02/05 19:34:27 wollman Exp $
|
||||
* $Id: if_loop.c,v 1.18 1996/02/06 18:51:11 wollman Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -48,7 +48,6 @@
|
||||
#include <sys/errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_types.h>
|
||||
|
@ -69,7 +69,7 @@
|
||||
* Paul Mackerras (paulus@cs.anu.edu.au).
|
||||
*/
|
||||
|
||||
/* $Id: if_ppp.c,v 1.30 1996/01/24 21:09:18 phk Exp $ */
|
||||
/* $Id: if_ppp.c,v 1.31 1996/02/06 18:51:12 wollman Exp $ */
|
||||
/* from if_ppp.c,v 1.5 1995/08/16 01:36:38 paulus Exp */
|
||||
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
|
||||
|
||||
@ -117,7 +117,6 @@
|
||||
#include <net/ppp_defs.h>
|
||||
#include <net/if_ppp.h>
|
||||
#include <net/if_pppvar.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#ifdef PPP_COMPRESS
|
||||
#define PACKETPTR struct mbuf *
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)if_sl.c 8.6 (Berkeley) 2/1/94
|
||||
* $Id: if_sl.c,v 1.35 1995/12/14 09:53:14 phk Exp $
|
||||
* $Id: if_sl.c,v 1.36 1996/02/06 18:51:14 wollman Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -85,8 +85,6 @@
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/conf.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_types.h>
|
||||
#include <net/netisr.h>
|
||||
|
@ -37,8 +37,6 @@
|
||||
#endif /*DEVFS*/
|
||||
#include <sys/conf.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: wd82371.c,v 1.1 1996/01/28 22:15:47 wollman Exp $
|
||||
* $Id: wd82371.c,v 1.2 1996/01/30 19:04:09 wollman Exp $
|
||||
*/
|
||||
|
||||
#include "pci.h"
|
||||
@ -42,7 +42,6 @@
|
||||
#include <vm/vm.h>
|
||||
#include <vm/pmap.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/pmap.h> /* for vtophys */
|
||||
|
||||
#include <i386/isa/wdreg.h>
|
||||
|
@ -59,7 +59,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_glue.c,v 1.43 1996/03/11 06:11:39 hsu Exp $
|
||||
* $Id: vm_glue.c,v 1.44 1996/04/03 05:23:36 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "opt_ddb.h"
|
||||
@ -92,7 +92,6 @@
|
||||
#include <sys/user.h>
|
||||
|
||||
#include <machine/stdarg.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
/*
|
||||
* System initialization
|
||||
|
Loading…
Reference in New Issue
Block a user