diff options
author | ian <ian@FreeBSD.org> | 2013-12-13 20:43:11 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-12-13 20:43:11 +0000 |
commit | c44e255e080c7cb566f615f34fd5834c1e626fff (patch) | |
tree | 15c6d88c6b74d5b85ad41d55216b3e1c19868c84 /sys/arm | |
parent | a82d470c95dfbb07e973745cfbe6dc42ed1ab8b1 (diff) | |
download | FreeBSD-src-c44e255e080c7cb566f615f34fd5834c1e626fff.zip FreeBSD-src-c44e255e080c7cb566f615f34fd5834c1e626fff.tar.gz |
MFC r257199, r257200, r257217:
Remove all #include <machine/pmap.h> from arm code. It's already
included by vm/pmap.h, which is a prerequisite for arm/machine/pmap.h
so there's no reason to ever include it directly.
Remove #include <machine/frame.h> from all the arm code that doesn't
really need it. That would be almost everywhere it was included. Add
it in a couple files that really do need it and were previously getting
it by accident via another header.
Remove the last dregs of trapframe_t. It turns out only arm was using
this type, so remove it to make arm code more consistant with other
platforms.
Diffstat (limited to 'sys/arm')
80 files changed, 39 insertions, 106 deletions
diff --git a/sys/arm/allwinner/a10_clk.c b/sys/arm/allwinner/a10_clk.c index 64251fb..8518c74 100644 --- a/sys/arm/allwinner/a10_clk.c +++ b/sys/arm/allwinner/a10_clk.c @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/allwinner/a10_gpio.c b/sys/arm/allwinner/a10_gpio.c index 0ccea4f..c14f228 100644 --- a/sys/arm/allwinner/a10_gpio.c +++ b/sys/arm/allwinner/a10_gpio.c @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpufunc.h> #include <machine/resource.h> #include <machine/fdt.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/allwinner/a10_machdep.c b/sys/arm/allwinner/a10_machdep.c index 5282013..18ddfc5 100644 --- a/sys/arm/allwinner/a10_machdep.c +++ b/sys/arm/allwinner/a10_machdep.c @@ -43,9 +43,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/allwinner/a20/a20_cpu_cfg.c b/sys/arm/allwinner/a20/a20_cpu_cfg.c index 6b6345c..4e6395b 100644 --- a/sys/arm/allwinner/a20/a20_cpu_cfg.c +++ b/sys/arm/allwinner/a20/a20_cpu_cfg.c @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/allwinner/timer.c b/sys/arm/allwinner/timer.c index fb1d924..4668026 100644 --- a/sys/arm/allwinner/timer.c +++ b/sys/arm/allwinner/timer.c @@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/arm/cpufunc.c b/sys/arm/arm/cpufunc.c index da23283..11c3e5e 100644 --- a/sys/arm/arm/cpufunc.c +++ b/sys/arm/arm/cpufunc.c @@ -1720,7 +1720,7 @@ int early_abort_fixup(arg) void *arg; { - trapframe_t *frame = arg; + struct trapframe *frame = arg; u_int fault_pc; u_int fault_instruction; int saved_lr = 0; @@ -1861,7 +1861,7 @@ int late_abort_fixup(arg) void *arg; { - trapframe_t *frame = arg; + struct trapframe *frame = arg; u_int fault_pc; u_int fault_instruction; int saved_lr = 0; diff --git a/sys/arm/arm/genassym.c b/sys/arm/arm/genassym.c index 0a7399d..beae190 100644 --- a/sys/arm/arm/genassym.c +++ b/sys/arm/arm/genassym.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <vm/vm_map.h> #include <machine/vmparam.h> #include <machine/armreg.h> +#include <machine/frame.h> #include <machine/pcb.h> #include <machine/cpu.h> #include <machine/proc.h> diff --git a/sys/arm/arm/generic_timer.c b/sys/arm/arm/generic_timer.c index 7517b24..1b8fd1f 100644 --- a/sys/arm/arm/generic_timer.c +++ b/sys/arm/arm/generic_timer.c @@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c index 27a34c8..8f77b77 100644 --- a/sys/arm/arm/machdep.c +++ b/sys/arm/arm/machdep.c @@ -90,11 +90,11 @@ __FBSDID("$FreeBSD$"); #include <machine/armreg.h> #include <machine/atags.h> #include <machine/cpu.h> +#include <machine/frame.h> #include <machine/machdep.h> #include <machine/md_var.h> #include <machine/metadata.h> #include <machine/pcb.h> -#include <machine/pmap.h> #include <machine/reg.h> #include <machine/trap.h> #include <machine/undefined.h> diff --git a/sys/arm/arm/minidump_machdep.c b/sys/arm/arm/minidump_machdep.c index a858709..69c82f8 100644 --- a/sys/arm/arm/minidump_machdep.c +++ b/sys/arm/arm/minidump_machdep.c @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #endif #include <vm/vm.h> #include <vm/pmap.h> -#include <machine/pmap.h> #include <machine/atomic.h> #include <machine/elf.h> #include <machine/md_var.h> diff --git a/sys/arm/arm/mpcore_timer.c b/sys/arm/arm/mpcore_timer.c index 42ba289..e2f6fbd 100644 --- a/sys/arm/arm/mpcore_timer.c +++ b/sys/arm/arm/mpcore_timer.c @@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/arm/nexus.c b/sys/arm/arm/nexus.c index 93643d5..9b5047e 100644 --- a/sys/arm/arm/nexus.c +++ b/sys/arm/arm/nexus.c @@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$"); #include <machine/pcb.h> #include <vm/vm.h> #include <vm/pmap.h> -#include <machine/pmap.h> #include <machine/resource.h> #include <machine/intr.h> diff --git a/sys/arm/arm/trap.c b/sys/arm/arm/trap.c index 761169c..bc1bc27 100644 --- a/sys/arm/arm/trap.c +++ b/sys/arm/arm/trap.c @@ -123,8 +123,8 @@ __FBSDID("$FreeBSD$"); #endif -void swi_handler(trapframe_t *); -void undefinedinstruction(trapframe_t *); +void swi_handler(struct trapframe *); +void undefinedinstruction(struct trapframe *); #include <machine/disassem.h> #include <machine/machdep.h> @@ -145,13 +145,17 @@ struct ksig { u_long code; }; struct data_abort { - int (*func)(trapframe_t *, u_int, u_int, struct thread *, struct ksig *); + int (*func)(struct trapframe *, u_int, u_int, struct thread *, + struct ksig *); const char *desc; }; -static int dab_fatal(trapframe_t *, u_int, u_int, struct thread *, struct ksig *); -static int dab_align(trapframe_t *, u_int, u_int, struct thread *, struct ksig *); -static int dab_buserr(trapframe_t *, u_int, u_int, struct thread *, struct ksig *); +static int dab_fatal(struct trapframe *, u_int, u_int, struct thread *, + struct ksig *); +static int dab_align(struct trapframe *, u_int, u_int, struct thread *, + struct ksig *); +static int dab_buserr(struct trapframe *, u_int, u_int, struct thread *, + struct ksig *); static const struct data_abort data_aborts[] = { {dab_fatal, "Vector Exception"}, @@ -196,7 +200,8 @@ call_trapsignal(struct thread *td, int sig, u_long code) } static __inline int -data_abort_fixup(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) +data_abort_fixup(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, + struct ksig *ksig) { #ifdef CPU_ABORT_FIXUP_REQUIRED int error; @@ -226,7 +231,7 @@ data_abort_fixup(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struc } void -data_abort_handler(trapframe_t *tf) +data_abort_handler(struct trapframe *tf) { struct vm_map *map; struct pcb *pcb; @@ -482,7 +487,8 @@ out: * Note: If 'l' is NULL, we assume we're dealing with a prefetch abort. */ static int -dab_fatal(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) +dab_fatal(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, + struct ksig *ksig) { const char *mode; @@ -538,7 +544,8 @@ dab_fatal(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig * deliver a bus error to the process. */ static int -dab_align(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) +dab_align(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, + struct ksig *ksig) { /* Alignment faults are always fatal if they occur in kernel mode */ @@ -586,7 +593,8 @@ dab_align(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig * In all other cases, these data aborts are considered fatal. */ static int -dab_buserr(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) +dab_buserr(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, + struct ksig *ksig) { struct pcb *pcb = td->td_pcb; @@ -607,7 +615,7 @@ dab_buserr(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig * If the current trapframe is at the top of the kernel stack, * the fault _must_ have come from user mode. */ - if (tf != ((trapframe_t *)pcb->un_32.pcb32_sp) - 1) { + if (tf != ((struct trapframe *)pcb->un_32.pcb32_sp) - 1) { /* * Kernel mode. We're either about to die a * spectacular death, or pcb_onfault will come @@ -660,7 +668,7 @@ dab_buserr(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig } static __inline int -prefetch_abort_fixup(trapframe_t *tf, struct ksig *ksig) +prefetch_abort_fixup(struct trapframe *tf, struct ksig *ksig) { #ifdef CPU_ABORT_FIXUP_REQUIRED int error; @@ -691,7 +699,7 @@ prefetch_abort_fixup(trapframe_t *tf, struct ksig *ksig) } /* - * void prefetch_abort_handler(trapframe_t *tf) + * void prefetch_abort_handler(struct trapframe *tf) * * Abort handler called when instruction execution occurs at * a non existent or restricted (access permissions) memory page. @@ -702,7 +710,7 @@ prefetch_abort_fixup(trapframe_t *tf, struct ksig *ksig) * Otherwise fault the page in and try again. */ void -prefetch_abort_handler(trapframe_t *tf) +prefetch_abort_handler(struct trapframe *tf) { struct thread *td; struct proc * p; @@ -907,7 +915,7 @@ cpu_fetch_syscall_args(struct thread *td, struct syscall_args *sa) #include "../../kern/subr_syscall.c" static void -syscall(struct thread *td, trapframe_t *frame) +syscall(struct thread *td, struct trapframe *frame) { struct syscall_args sa; int error; @@ -932,7 +940,7 @@ syscall(struct thread *td, trapframe_t *frame) } void -swi_handler(trapframe_t *frame) +swi_handler(struct trapframe *frame) { struct thread *td = curthread; diff --git a/sys/arm/arm/undefined.c b/sys/arm/arm/undefined.c index 476dd60..7829ece 100644 --- a/sys/arm/arm/undefined.c +++ b/sys/arm/arm/undefined.c @@ -166,7 +166,7 @@ undefined_init() void -undefinedinstruction(trapframe_t *frame) +undefinedinstruction(struct trapframe *frame) { struct thread *td; u_int fault_pc; diff --git a/sys/arm/arm/vfp.c b/sys/arm/arm/vfp.c index 8e8dbad..b78371a 100644 --- a/sys/arm/arm/vfp.c +++ b/sys/arm/arm/vfp.c @@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$"); #include <sys/proc.h> #include <sys/kernel.h> +#include <machine/frame.h> #include <machine/fp.h> #include <machine/pcb.h> #include <machine/undefined.h> diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c index d7c2516..1e08421 100644 --- a/sys/arm/arm/vm_machdep.c +++ b/sys/arm/arm/vm_machdep.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysent.h> #include <sys/unistd.h> #include <machine/cpu.h> +#include <machine/frame.h> #include <machine/pcb.h> #include <machine/sysarch.h> #include <sys/lock.h> @@ -294,7 +295,7 @@ done: void cpu_set_syscall_retval(struct thread *td, int error) { - trapframe_t *frame; + struct trapframe *frame; int fixup; #ifdef __ARMEB__ uint32_t insn; diff --git a/sys/arm/at91/at91_mci.c b/sys/arm/at91/at91_mci.c index c4cf9b4..0026c3b 100644 --- a/sys/arm/at91/at91_mci.c +++ b/sys/arm/at91/at91_mci.c @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <arm/at91/at91var.h> diff --git a/sys/arm/at91/at91_pmc.c b/sys/arm/at91/at91_pmc.c index e001b5c..d811d38 100644 --- a/sys/arm/at91/at91_pmc.c +++ b/sys/arm/at91/at91_pmc.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <arm/at91/at91reg.h> #include <arm/at91/at91var.h> diff --git a/sys/arm/broadcom/bcm2835/bcm2835_dma.c b/sys/arm/broadcom/bcm2835/bcm2835_dma.c index 08f3835..9fc8304 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_dma.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_dma.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/pmap.h> #include "bcm2835_dma.h" #include "bcm2835_vcbus.h" diff --git a/sys/arm/broadcom/bcm2835/bcm2835_fb.c b/sys/arm/broadcom/bcm2835/bcm2835_fb.c index 879f278..2e7bc80 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_fb.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_fb.c @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c index 26d2359..5fb0ea0 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpufunc.h> #include <machine/resource.h> #include <machine/fdt.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/broadcom/bcm2835/bcm2835_machdep.c b/sys/arm/broadcom/bcm2835/bcm2835_machdep.c index 7eff61c..f4b6718 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_machdep.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_machdep.c @@ -52,9 +52,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/broadcom/bcm2835/bcm2835_mbox.c b/sys/arm/broadcom/bcm2835/bcm2835_mbox.c index 4278742..b94a030 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_mbox.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_mbox.c @@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c b/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c index 90a5725..eb8df2a 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/broadcom/bcm2835/bcm2835_spi.c b/sys/arm/broadcom/bcm2835/bcm2835_spi.c index 2bc4fdc..47a7d98 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_spi.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_spi.c @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpufunc.h> #include <machine/resource.h> #include <machine/fdt.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/broadcom/bcm2835/bcm2835_systimer.c b/sys/arm/broadcom/bcm2835/bcm2835_systimer.c index 6ecdb34..a727366 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_systimer.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_systimer.c @@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/econa/timer.c b/sys/arm/econa/timer.c index e7cca79..e79a70a 100644 --- a/sys/arm/econa/timer.c +++ b/sys/arm/econa/timer.c @@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include "econa_reg.h" diff --git a/sys/arm/freescale/imx/imx51_ipuv3.c b/sys/arm/freescale/imx/imx51_ipuv3.c index 18e7dce..e2b05aa 100644 --- a/sys/arm/freescale/imx/imx51_ipuv3.c +++ b/sys/arm/freescale/imx/imx51_ipuv3.c @@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/freescale/imx/imx_gpt.c b/sys/arm/freescale/imx/imx_gpt.c index de726d0..7841704 100644 --- a/sys/arm/freescale/imx/imx_gpt.c +++ b/sys/arm/freescale/imx/imx_gpt.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <machine/fdt.h> diff --git a/sys/arm/freescale/imx/imx_machdep.c b/sys/arm/freescale/imx/imx_machdep.c index c79e37d..58437c2 100644 --- a/sys/arm/freescale/imx/imx_machdep.c +++ b/sys/arm/freescale/imx/imx_machdep.c @@ -39,9 +39,7 @@ __FBSDID("$FreeBSD$"); #include <machine/armreg.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <arm/freescale/imx/imx_machdep.h> #include <arm/freescale/imx/imx_wdogreg.h> diff --git a/sys/arm/include/cpu.h b/sys/arm/include/cpu.h index 9dae977..95779e1 100644 --- a/sys/arm/include/cpu.h +++ b/sys/arm/include/cpu.h @@ -5,6 +5,7 @@ #define MACHINE_CPU_H #include <machine/armreg.h> +#include <machine/frame.h> void cpu_halt(void); void swi_vm(void *); diff --git a/sys/arm/include/fdt.h b/sys/arm/include/fdt.h index 7285e97..bff86d8 100644 --- a/sys/arm/include/fdt.h +++ b/sys/arm/include/fdt.h @@ -38,7 +38,6 @@ #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/pmap.h> #include <machine/intr.h> /* Max interrupt number */ diff --git a/sys/arm/include/frame.h b/sys/arm/include/frame.h index cd6a897..1e6f43a 100644 --- a/sys/arm/include/frame.h +++ b/sys/arm/include/frame.h @@ -59,7 +59,7 @@ * Trap frame. Pushed onto the kernel stack on a trap (synchronous exception). */ -typedef struct trapframe { +struct trapframe { register_t tf_spsr; /* Zero on arm26 */ register_t tf_r0; register_t tf_r1; @@ -80,7 +80,7 @@ typedef struct trapframe { register_t tf_svc_lr; /* Not used on arm26 */ register_t tf_pc; register_t tf_pad; -} trapframe_t; +}; /* Register numbers */ #define tf_r13 tf_usr_sp diff --git a/sys/arm/include/pcb.h b/sys/arm/include/pcb.h index e6f0a41..8a762aa 100644 --- a/sys/arm/include/pcb.h +++ b/sys/arm/include/pcb.h @@ -38,7 +38,6 @@ #ifndef _MACHINE_PCB_H_ #define _MACHINE_PCB_H_ -#include <machine/frame.h> #include <machine/fp.h> diff --git a/sys/arm/include/pcpu.h b/sys/arm/include/pcpu.h index 1995030..6e0eb06 100644 --- a/sys/arm/include/pcpu.h +++ b/sys/arm/include/pcpu.h @@ -33,7 +33,6 @@ #ifdef _KERNEL #include <machine/cpuconf.h> -#include <machine/frame.h> #define ALT_STACK_SIZE 128 diff --git a/sys/arm/include/undefined.h b/sys/arm/include/undefined.h index 6b64d1d..8a673f4 100644 --- a/sys/arm/include/undefined.h +++ b/sys/arm/include/undefined.h @@ -52,7 +52,9 @@ #include <sys/queue.h> -typedef int (*undef_handler_t) (unsigned int, unsigned int, trapframe_t *, int); +struct trapframe; + +typedef int (*undef_handler_t) (unsigned int, unsigned int, struct trapframe *, int); #define FP_COPROC 1 #define FP_COPROC2 2 diff --git a/sys/arm/lpc/lpc_fb.c b/sys/arm/lpc/lpc_fb.c index 5143645..0cc92b5 100644 --- a/sys/arm/lpc/lpc_fb.c +++ b/sys/arm/lpc/lpc_fb.c @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/lpc/lpc_gpio.c b/sys/arm/lpc/lpc_gpio.c index a7ef028..0b97b07 100644 --- a/sys/arm/lpc/lpc_gpio.c +++ b/sys/arm/lpc/lpc_gpio.c @@ -76,7 +76,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <machine/fdt.h> diff --git a/sys/arm/lpc/lpc_machdep.c b/sys/arm/lpc/lpc_machdep.c index 5fdc9d7..4604755 100644 --- a/sys/arm/lpc/lpc_machdep.c +++ b/sys/arm/lpc/lpc_machdep.c @@ -50,9 +50,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <arm/lpc/lpcreg.h> #include <arm/lpc/lpcvar.h> diff --git a/sys/arm/lpc/lpc_mmc.c b/sys/arm/lpc/lpc_mmc.c index 5a789f6..2e7473c 100644 --- a/sys/arm/lpc/lpc_mmc.c +++ b/sys/arm/lpc/lpc_mmc.c @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/ofw/ofw_bus.h> diff --git a/sys/arm/lpc/lpc_spi.c b/sys/arm/lpc/lpc_spi.c index db4c09ab..96a0e26 100644 --- a/sys/arm/lpc/lpc_spi.c +++ b/sys/arm/lpc/lpc_spi.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/spibus/spi.h> diff --git a/sys/arm/lpc/lpc_timer.c b/sys/arm/lpc/lpc_timer.c index 8572e1a..0ceee9e 100644 --- a/sys/arm/lpc/lpc_timer.c +++ b/sys/arm/lpc/lpc_timer.c @@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$"); #include <sys/timeet.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/mv/mv_machdep.c b/sys/arm/mv/mv_machdep.c index 58d183e..54c78bf 100644 --- a/sys/arm/mv/mv_machdep.c +++ b/sys/arm/mv/mv_machdep.c @@ -50,9 +50,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <arm/mv/mvreg.h> /* XXX */ #include <arm/mv/mvvar.h> /* XXX eventually this should be eliminated */ diff --git a/sys/arm/mv/mvvar.h b/sys/arm/mv/mvvar.h index c85539a..754541f 100644 --- a/sys/arm/mv/mvvar.h +++ b/sys/arm/mv/mvvar.h @@ -44,7 +44,6 @@ #include <machine/bus.h> #include <vm/vm.h> #include <vm/pmap.h> -#include <machine/pmap.h> #include <machine/vm.h> #define MV_TYPE_PCI 0 diff --git a/sys/arm/mv/orion/db88f5xxx.c b/sys/arm/mv/orion/db88f5xxx.c index 5bef2f2..0762df5 100644 --- a/sys/arm/mv/orion/db88f5xxx.c +++ b/sys/arm/mv/orion/db88f5xxx.c @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/intr.h> #include <machine/pte.h> -#include <machine/pmap.h> #include <machine/vmparam.h> #include <arm/mv/mvreg.h> diff --git a/sys/arm/mv/timer.c b/sys/arm/mv/timer.c index aec9a34..91305b0 100644 --- a/sys/arm/mv/timer.c +++ b/sys/arm/mv/timer.c @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <arm/mv/mvreg.h> diff --git a/sys/arm/rockchip/rk30xx_gpio.c b/sys/arm/rockchip/rk30xx_gpio.c index 903ffbd..27a0126 100644 --- a/sys/arm/rockchip/rk30xx_gpio.c +++ b/sys/arm/rockchip/rk30xx_gpio.c @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpufunc.h> #include <machine/resource.h> #include <machine/fdt.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/rockchip/rk30xx_grf.c b/sys/arm/rockchip/rk30xx_grf.c index f5b83a9..a2ff38a 100644 --- a/sys/arm/rockchip/rk30xx_grf.c +++ b/sys/arm/rockchip/rk30xx_grf.c @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/rockchip/rk30xx_machdep.c b/sys/arm/rockchip/rk30xx_machdep.c index 0b315a1..db6bda6 100644 --- a/sys/arm/rockchip/rk30xx_machdep.c +++ b/sys/arm/rockchip/rk30xx_machdep.c @@ -44,9 +44,7 @@ __FBSDID("$FreeBSD$"); #include <machine/armreg.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/rockchip/rk30xx_pmu.c b/sys/arm/rockchip/rk30xx_pmu.c index 55a7fdc..72f104d 100644 --- a/sys/arm/rockchip/rk30xx_pmu.c +++ b/sys/arm/rockchip/rk30xx_pmu.c @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/sa11x0/sa11x0_io.c b/sys/arm/sa11x0/sa11x0_io.c index ceeaffa..5731599 100644 --- a/sys/arm/sa11x0/sa11x0_io.c +++ b/sys/arm/sa11x0/sa11x0_io.c @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <vm/vm_kern.h> #include <machine/bus.h> -#include <machine/pmap.h> /* Proto types for all the bus_space structure functions */ diff --git a/sys/arm/samsung/exynos/arch_timer.c b/sys/arm/samsung/exynos/arch_timer.c index e5970b6..86bb6f3 100644 --- a/sys/arm/samsung/exynos/arch_timer.c +++ b/sys/arm/samsung/exynos/arch_timer.c @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/samsung/exynos/exynos5_machdep.c b/sys/arm/samsung/exynos/exynos5_machdep.c index 176009a..98490cd 100644 --- a/sys/arm/samsung/exynos/exynos5_machdep.c +++ b/sys/arm/samsung/exynos/exynos5_machdep.c @@ -39,9 +39,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/tegra/tegra2_machdep.c b/sys/arm/tegra/tegra2_machdep.c index a3b1d98..447dbdc 100644 --- a/sys/arm/tegra/tegra2_machdep.c +++ b/sys/arm/tegra/tegra2_machdep.c @@ -45,9 +45,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/ti/am335x/am335x_dmtimer.c b/sys/arm/ti/am335x/am335x_dmtimer.c index 93911f2..bd56484 100644 --- a/sys/arm/ti/am335x/am335x_dmtimer.c +++ b/sys/arm/ti/am335x/am335x_dmtimer.c @@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/ti/am335x/am335x_lcd_syscons.c b/sys/arm/ti/am335x/am335x_lcd_syscons.c index 7684c25..12b6366 100644 --- a/sys/arm/ti/am335x/am335x_lcd_syscons.c +++ b/sys/arm/ti/am335x/am335x_lcd_syscons.c @@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/ti/am335x/am335x_prcm.c b/sys/arm/ti/am335x/am335x_prcm.c index 5cfdf2e..a62b2e1 100644 --- a/sys/arm/ti/am335x/am335x_prcm.c +++ b/sys/arm/ti/am335x/am335x_prcm.c @@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <arm/ti/tivar.h> diff --git a/sys/arm/ti/am335x/am335x_scm_padconf.c b/sys/arm/ti/am335x/am335x_scm_padconf.c index 6bb89f5..4e049e9 100644 --- a/sys/arm/ti/am335x/am335x_scm_padconf.c +++ b/sys/arm/ti/am335x/am335x_scm_padconf.c @@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> #include <sys/gpio.h> diff --git a/sys/arm/ti/omap4/omap4_prcm_clks.c b/sys/arm/ti/omap4/omap4_prcm_clks.c index 8217bf1..034e615 100644 --- a/sys/arm/ti/omap4/omap4_prcm_clks.c +++ b/sys/arm/ti/omap4/omap4_prcm_clks.c @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> diff --git a/sys/arm/ti/omap4/omap4_scm_padconf.c b/sys/arm/ti/omap4/omap4_scm_padconf.c index 4cd3a56..fce5ba2 100644 --- a/sys/arm/ti/omap4/omap4_scm_padconf.c +++ b/sys/arm/ti/omap4/omap4_scm_padconf.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> #include <sys/gpio.h> diff --git a/sys/arm/ti/omap4/pandaboard/pandaboard.c b/sys/arm/ti/omap4/pandaboard/pandaboard.c index 043f2a0..e480132 100644 --- a/sys/arm/ti/omap4/pandaboard/pandaboard.c +++ b/sys/arm/ti/omap4/pandaboard/pandaboard.c @@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/pte.h> -#include <machine/pmap.h> #include <machine/vmparam.h> #include <machine/fdt.h> diff --git a/sys/arm/ti/ti_cpuid.c b/sys/arm/ti/ti_cpuid.c index 027dd6d..078757d 100644 --- a/sys/arm/ti/ti_cpuid.c +++ b/sys/arm/ti/ti_cpuid.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include <machine/fdt.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> diff --git a/sys/arm/ti/ti_machdep.c b/sys/arm/ti/ti_machdep.c index 170c253..f10f114 100644 --- a/sys/arm/ti/ti_machdep.c +++ b/sys/arm/ti/ti_machdep.c @@ -49,9 +49,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <arm/ti/omap4/omap4_reg.h> diff --git a/sys/arm/ti/ti_mmchs.c b/sys/arm/ti/ti_mmchs.c index 25c7d06..281d1cd 100644 --- a/sys/arm/ti/ti_mmchs.c +++ b/sys/arm/ti/ti_mmchs.c @@ -65,7 +65,6 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/resource.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/mmc/bridge.h> diff --git a/sys/arm/ti/ti_prcm.c b/sys/arm/ti/ti_prcm.c index 57709ad..89a2377 100644 --- a/sys/arm/ti/ti_prcm.c +++ b/sys/arm/ti/ti_prcm.c @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> diff --git a/sys/arm/ti/ti_scm.c b/sys/arm/ti/ti_scm.c index 12532e0..aafcf2d 100644 --- a/sys/arm/ti/ti_scm.c +++ b/sys/arm/ti/ti_scm.c @@ -61,7 +61,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/ti/twl/twl.c b/sys/arm/ti/twl/twl.c index 8edaf2f..387ca1b 100644 --- a/sys/arm/ti/twl/twl.c +++ b/sys/arm/ti/twl/twl.c @@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> diff --git a/sys/arm/ti/twl/twl_clks.c b/sys/arm/ti/twl/twl_clks.c index d78a733..a042e43 100644 --- a/sys/arm/ti/twl/twl_clks.c +++ b/sys/arm/ti/twl/twl_clks.c @@ -64,7 +64,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> diff --git a/sys/arm/ti/twl/twl_vreg.c b/sys/arm/ti/twl/twl_vreg.c index 26c2e26..b4ebc59 100644 --- a/sys/arm/ti/twl/twl_vreg.c +++ b/sys/arm/ti/twl/twl_vreg.c @@ -65,7 +65,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> diff --git a/sys/arm/versatile/pl050.c b/sys/arm/versatile/pl050.c index f6662b1..72569dc 100644 --- a/sys/arm/versatile/pl050.c +++ b/sys/arm/versatile/pl050.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/versatile/sp804.c b/sys/arm/versatile/sp804.c index 000ccb6..395d70a 100644 --- a/sys/arm/versatile/sp804.c +++ b/sys/arm/versatile/sp804.c @@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/versatile/versatile_clcd.c b/sys/arm/versatile/versatile_clcd.c index 34d29fa..daa09e7 100644 --- a/sys/arm/versatile/versatile_clcd.c +++ b/sys/arm/versatile/versatile_clcd.c @@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/versatile/versatile_machdep.c b/sys/arm/versatile/versatile_machdep.c index cd29a5a..b7cf5fa 100644 --- a/sys/arm/versatile/versatile_machdep.c +++ b/sys/arm/versatile/versatile_machdep.c @@ -49,9 +49,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <machine/bus.h> -#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */ #include <machine/machdep.h> -#include <machine/pmap.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/versatile/versatile_pci.c b/sys/arm/versatile/versatile_pci.c index e65dbb6..bc54245 100644 --- a/sys/arm/versatile/versatile_pci.c +++ b/sys/arm/versatile/versatile_pci.c @@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/pci/pcivar.h> diff --git a/sys/arm/versatile/versatile_timer.c b/sys/arm/versatile/versatile_timer.c index ab46a0a..5231ef1c 100644 --- a/sys/arm/versatile/versatile_timer.c +++ b/sys/arm/versatile/versatile_timer.c @@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$"); #include <sys/watchdog.h> #include <machine/bus.h> #include <machine/cpu.h> -#include <machine/frame.h> #include <machine/intr.h> #include <dev/fdt/fdt_common.h> diff --git a/sys/arm/xilinx/zy7_machdep.c b/sys/arm/xilinx/zy7_machdep.c index 2731d53..2f25afb 100644 --- a/sys/arm/xilinx/zy7_machdep.c +++ b/sys/arm/xilinx/zy7_machdep.c @@ -49,8 +49,6 @@ __FBSDID("$FreeBSD$"); #include <dev/fdt/fdt_common.h> #include <machine/bus.h> -#include <machine/pmap.h> -#include <machine/frame.h> #include <machine/machdep.h> #include <arm/xilinx/zy7_reg.h> diff --git a/sys/arm/xscale/i80321/i80321_pci.c b/sys/arm/xscale/i80321/i80321_pci.c index dfb4c46..4e28148 100644 --- a/sys/arm/xscale/i80321/i80321_pci.c +++ b/sys/arm/xscale/i80321/i80321_pci.c @@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/pmap.h> #include <vm/vm_extern.h> -#include <machine/pmap.h> #include <arm/xscale/i80321/i80321reg.h> #include <arm/xscale/i80321/i80321var.h> diff --git a/sys/arm/xscale/i8134x/i81342_pci.c b/sys/arm/xscale/i8134x/i81342_pci.c index 8bbcdba..68d2fbf 100644 --- a/sys/arm/xscale/i8134x/i81342_pci.c +++ b/sys/arm/xscale/i8134x/i81342_pci.c @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/pmap.h> #include <vm/vm_extern.h> -#include <machine/pmap.h> #include <arm/xscale/i8134x/i81342reg.h> #include <arm/xscale/i8134x/i81342var.h> diff --git a/sys/arm/xscale/ixp425/ixp425_pci.c b/sys/arm/xscale/ixp425/ixp425_pci.c index c17eb1e..9495ede 100644 --- a/sys/arm/xscale/ixp425/ixp425_pci.c +++ b/sys/arm/xscale/ixp425/ixp425_pci.c @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/pmap.h> #include <vm/vm_extern.h> -#include <machine/pmap.h> #include <arm/xscale/ixp425/ixp425reg.h> #include <arm/xscale/ixp425/ixp425var.h> diff --git a/sys/arm/xscale/ixp425/ixp425_wdog.c b/sys/arm/xscale/ixp425/ixp425_wdog.c index 156378d..3e64fb3 100644 --- a/sys/arm/xscale/ixp425/ixp425_wdog.c +++ b/sys/arm/xscale/ixp425/ixp425_wdog.c @@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/cpufunc.h> -#include <machine/frame.h> #include <machine/resource.h> #include <machine/intr.h> |