Use <arm/cpufunc.h>, not <machine/cpufunc.h>.

This commit is contained in:
thorpej 2001-11-23 19:21:47 +00:00
parent d60ef922be
commit 0c57d87232
11 changed files with 36 additions and 23 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sig_machdep.c,v 1.8 2001/11/22 17:59:59 thorpej Exp $ */
/* $NetBSD: sig_machdep.c,v 1.9 2001/11/23 19:21:47 thorpej Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@ -44,7 +44,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.8 2001/11/22 17:59:59 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.9 2001/11/23 19:21:47 thorpej Exp $");
#include <sys/mount.h> /* XXX only needed by syscallargs.h */
#include <sys/proc.h>
@ -59,7 +59,7 @@ __KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.8 2001/11/22 17:59:59 thorpej Exp
#include <machine/frame.h>
#include <machine/pcb.h>
#ifndef arm26
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
#endif
static __inline struct trapframe *

View File

@ -1,4 +1,4 @@
/* $NetBSD: ast.c,v 1.1 2001/03/06 07:52:35 matt Exp $ */
/* $NetBSD: ast.c,v 1.2 2001/11/23 19:21:47 thorpej Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe
@ -53,9 +53,10 @@
#include <machine/cpu.h>
#include <machine/frame.h>
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/psl.h>
#include <arm/cpufunc.h>
#include <uvm/uvm_extern.h>
int want_resched = 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_dma.c,v 1.3 2001/09/12 09:41:50 rearnsha Exp $ */
/* $NetBSD: bus_dma.c,v 1.4 2001/11/23 19:21:47 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -57,9 +57,10 @@
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/psl.h>
#include <arm/cpufunc.h>
int _bus_dmamap_load_buffer __P((bus_dma_tag_t, bus_dmamap_t, void *,
bus_size_t, struct proc *, int, vm_offset_t *, int *, int));
int _bus_dma_inrange __P((bus_dma_segment_t *, int, bus_addr_t));

View File

@ -1,4 +1,4 @@
/* $NetBSD: footbridge.c,v 1.2 2001/09/05 16:17:35 matt Exp $ */
/* $NetBSD: footbridge.c,v 1.3 2001/11/23 19:21:47 thorpej Exp $ */
/*
* Copyright (c) 1997,1998 Mark Brinicombe.
@ -47,7 +47,9 @@
#define _ARM32_BUS_DMA_PRIVATE
#include <machine/bus.h>
#include <machine/intr.h>
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
#include <arm/footbridge/footbridgevar.h>
#include <arm/footbridge/dc21285reg.h>
#include <arm/footbridge/dc21285mem.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: footbridge_clock.c,v 1.2 2001/09/05 16:17:35 matt Exp $ */
/* $NetBSD: footbridge_clock.c,v 1.3 2001/11/23 19:21:47 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@ -43,8 +43,10 @@
#include <sys/time.h>
#include <sys/device.h>
#include <machine/cpufunc.h>
#include <machine/intr.h>
#include <arm/cpufunc.h>
#include <arm/footbridge/dc21285reg.h>
#include <arm/footbridge/footbridgevar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: katelib.h,v 1.2 2001/05/30 00:16:36 bjh21 Exp $ */
/* $NetBSD: katelib.h,v 1.3 2001/11/23 19:21:48 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -55,7 +55,7 @@
*/
#include <sys/types.h>
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
#ifdef _KERNEL

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.18 2001/11/23 17:39:04 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.19 2001/11/23 19:21:48 thorpej Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@ -35,7 +35,7 @@
#ifdef _KERNEL
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
#include <arm/arm32/pte.h>
#include <uvm/uvm_object.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: profile.h,v 1.3 2001/07/16 05:42:50 matt Exp $ */
/* $NetBSD: profile.h,v 1.4 2001/11/23 19:21:48 thorpej Exp $ */
/*
* Copyright (c) 2001 Ben Harris
@ -93,7 +93,7 @@ extern void int_restore(int);
#define MCOUNT_ENTER (s = int_off_save())
#define MCOUNT_EXIT int_restore(s)
#else
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
/*
* splhigh() and splx() are heavyweight, and call mcount(). Therefore
* we disabled interrupts (IRQ, but not FIQ) directly on the CPU.

View File

@ -1,4 +1,4 @@
/* $NetBSD: iic.c,v 1.1 2001/10/05 22:27:40 reinoud Exp $ */
/* $NetBSD: iic.c,v 1.2 2001/11/23 19:21:48 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -54,7 +54,9 @@
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
#include <arm/iomd/iic.h>
#include <arm/iomd/iicvar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: iomd_clock.c,v 1.2 2001/10/17 23:28:20 reinoud Exp $ */
/* $NetBSD: iomd_clock.c,v 1.3 2001/11/23 19:21:48 thorpej Exp $ */
/*
* Copyright (c) 1994-1997 Mark Brinicombe.
@ -53,7 +53,9 @@
#include <sys/device.h>
#include <machine/irqhandler.h>
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
#include <arm/iomd/iomdvar.h>
#include <arm/iomd/iomdreg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa11x0_ost.c,v 1.3 2001/11/22 18:34:34 thorpej Exp $ */
/* $NetBSD: sa11x0_ost.c,v 1.4 2001/11/23 19:21:48 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@ -46,8 +46,11 @@
#include <machine/bus.h>
#include <machine/intr.h>
#include <machine/cpufunc.h>
#include <arm/cpufunc.h>
#include <arm/arm32/katelib.h>
#include <arm/sa11x0/sa11x0_reg.h>
#include <arm/sa11x0/sa11x0_var.h>
#include <arm/sa11x0/sa11x0_ostreg.h>