diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-02-01 10:00:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-03-14 13:13:27 +0100 |
commit | 3fe215502a11b318ad05c45f103272a6e8c8eb97 (patch) | |
tree | e25b07e6f302dc12cd704c8d2dddcc87c2534600 /bsps | |
parent | sparc64: Do not include <rtems/asm.h> in C source (diff) | |
download | rtems-3fe215502a11b318ad05c45f103272a6e8c8eb97.tar.bz2 |
Remove superfluous <rtems/system.h> includes
Diffstat (limited to 'bsps')
21 files changed, 1 insertions, 24 deletions
diff --git a/bsps/arm/shared/start/bsp-start-in-hyp-support.S b/bsps/arm/shared/start/bsp-start-in-hyp-support.S index b608c59fa8..5d3d5921c5 100644 --- a/bsps/arm/shared/start/bsp-start-in-hyp-support.S +++ b/bsps/arm/shared/start/bsp-start-in-hyp-support.S @@ -18,7 +18,6 @@ */ #include <rtems/asm.h> -#include <rtems/system.h> #include <rtems/score/cpu.h> #include <bspopts.h> diff --git a/bsps/arm/shared/start/bsp-start-memcpy.S b/bsps/arm/shared/start/bsp-start-memcpy.S index cb97eb47f8..4d82f6fad6 100644 --- a/bsps/arm/shared/start/bsp-start-memcpy.S +++ b/bsps/arm/shared/start/bsp-start-memcpy.S @@ -19,7 +19,6 @@ */ #include <rtems/asm.h> -#include <rtems/system.h> #include <rtems/score/cpu.h> .section ".bsp_start_text", "ax" diff --git a/bsps/i386/shared/irq/irq_asm.S b/bsps/i386/shared/irq/irq_asm.S index 181293351e..2d65a79fe2 100644 --- a/bsps/i386/shared/irq/irq_asm.S +++ b/bsps/i386/shared/irq/irq_asm.S @@ -14,7 +14,6 @@ */ #include <rtems/asm.h> -#include <rtems/system.h> #include <bspopts.h> #include <rtems/score/cpu.h> #include <rtems/score/percpu.h> diff --git a/bsps/m68k/csb360/start/idle-mcf5272.c b/bsps/m68k/csb360/start/idle-mcf5272.c index c645b288b8..651b212539 100644 --- a/bsps/m68k/csb360/start/idle-mcf5272.c +++ b/bsps/m68k/csb360/start/idle-mcf5272.c @@ -15,7 +15,6 @@ * http://www.rtems.org/license/LICENSE. */ -#include <rtems/system.h> #include <rtems/score/thread.h> void *_CPU_Thread_Idle_body( uintptr_t ignored ) diff --git a/bsps/m68k/shared/fpsp/rtems_fpsp.c b/bsps/m68k/shared/fpsp/rtems_fpsp.c index 558dc044da..1758d918f3 100644 --- a/bsps/m68k/shared/fpsp/rtems_fpsp.c +++ b/bsps/m68k/shared/fpsp/rtems_fpsp.c @@ -1,7 +1,4 @@ -#include <rtems/system.h> -/* -#include <rtems/score/isr.h> -*/ +#include <rtems/score/cpu.h> /* * User exception handlers diff --git a/bsps/m68k/shared/m68kidle.c b/bsps/m68k/shared/m68kidle.c index f43651f49e..474437e3e7 100644 --- a/bsps/m68k/shared/m68kidle.c +++ b/bsps/m68k/shared/m68kidle.c @@ -15,7 +15,6 @@ * http://www.rtems.org/license/LICENSE. */ -#include <rtems/system.h> #include <rtems/score/thread.h> void *_CPU_Thread_Idle_body( uintptr_t ignored ) diff --git a/bsps/powerpc/beatnik/start/bspstart.c b/bsps/powerpc/beatnik/start/bspstart.c index 4c1bb0e16f..1ddb457e05 100644 --- a/bsps/powerpc/beatnik/start/bspstart.c +++ b/bsps/powerpc/beatnik/start/bspstart.c @@ -26,7 +26,6 @@ #include <stdlib.h> #include <ctype.h> -#include <rtems/system.h> #include <rtems/libio.h> #include <rtems/libcsupport.h> #include <rtems/bspIo.h> diff --git a/bsps/powerpc/include/libcpu/powerpc-utility.h b/bsps/powerpc/include/libcpu/powerpc-utility.h index f833c0e850..60cfe85f60 100644 --- a/bsps/powerpc/include/libcpu/powerpc-utility.h +++ b/bsps/powerpc/include/libcpu/powerpc-utility.h @@ -52,7 +52,6 @@ extern "C" { #if !defined(ASM) #include <rtems/bspIo.h> -#include <rtems/system.h> #include <libcpu/cpuIdent.h> diff --git a/bsps/powerpc/motorola_powerpc/bootloader/misc.c b/bsps/powerpc/motorola_powerpc/bootloader/misc.c index 0b8e42c83a..587bcffcff 100644 --- a/bsps/powerpc/motorola_powerpc/bootloader/misc.c +++ b/bsps/powerpc/motorola_powerpc/bootloader/misc.c @@ -13,7 +13,6 @@ * http://www.rtems.org/license/LICENSE. */ -#include <rtems/system.h> #include <sys/param.h> #include <sys/types.h> #include <string.h> diff --git a/bsps/powerpc/motorola_powerpc/console/polled_io.c b/bsps/powerpc/motorola_powerpc/console/polled_io.c index db4dc8a044..ada6083b17 100644 --- a/bsps/powerpc/motorola_powerpc/console/polled_io.c +++ b/bsps/powerpc/motorola_powerpc/console/polled_io.c @@ -13,7 +13,6 @@ * http://www.rtems.org/license/LICENSE. */ -#include <rtems/system.h> #include <sys/param.h> #include <sys/types.h> #include <libcpu/byteorder.h> diff --git a/bsps/powerpc/mvme5500/irq/BSP_irq.c b/bsps/powerpc/mvme5500/irq/BSP_irq.c index eb36cc2a80..5f677e2b6d 100644 --- a/bsps/powerpc/mvme5500/irq/BSP_irq.c +++ b/bsps/powerpc/mvme5500/irq/BSP_irq.c @@ -29,7 +29,6 @@ #include <inttypes.h> #include <stdio.h> -#include <rtems/system.h> #include <bsp.h> #include <bsp/irq.h> #include <rtems/score/thread.h> diff --git a/bsps/powerpc/mvme5500/start/bspstart.c b/bsps/powerpc/mvme5500/start/bspstart.c index c79239e3c9..06a12d815f 100644 --- a/bsps/powerpc/mvme5500/start/bspstart.c +++ b/bsps/powerpc/mvme5500/start/bspstart.c @@ -26,7 +26,6 @@ #include <ctype.h> #include <rtems/sysinit.h> -#include <rtems/system.h> #include <rtems/powerpc/powerpc.h> #include <libcpu/spr.h> /* registers.h is included here */ diff --git a/bsps/powerpc/shared/btimer/btimer-ppc-dec.c b/bsps/powerpc/shared/btimer/btimer-ppc-dec.c index d161710732..1e65d49c6e 100644 --- a/bsps/powerpc/shared/btimer/btimer-ppc-dec.c +++ b/bsps/powerpc/shared/btimer/btimer-ppc-dec.c @@ -16,7 +16,6 @@ #include <bsp.h> #include <rtems.h> -#include <rtems/system.h> #include <rtems/btimer.h> #include <assert.h> #include <libcpu/powerpc-utility.h> diff --git a/bsps/powerpc/shared/cpu.c b/bsps/powerpc/shared/cpu.c index 7c37f0e0d8..a06b8c0868 100644 --- a/bsps/powerpc/shared/cpu.c +++ b/bsps/powerpc/shared/cpu.c @@ -30,7 +30,6 @@ #include <string.h> -#include <rtems/system.h> #include <rtems/score/isr.h> #include <rtems/score/context.h> #include <rtems/score/thread.h> diff --git a/bsps/powerpc/shared/exceptions/ppc_exc.S b/bsps/powerpc/shared/exceptions/ppc_exc.S index c606c0da30..9ffb2ccca7 100644 --- a/bsps/powerpc/shared/exceptions/ppc_exc.S +++ b/bsps/powerpc/shared/exceptions/ppc_exc.S @@ -14,7 +14,6 @@ /* Load macro definitions */ #include <rtems/asm.h> -#include <rtems/system.h> #include <rtems/score/percpu.h> /* diff --git a/bsps/powerpc/virtex/include/bsp/opbintctrl.h b/bsps/powerpc/virtex/include/bsp/opbintctrl.h index 4ade0e48f8..67b7f77c6e 100644 --- a/bsps/powerpc/virtex/include/bsp/opbintctrl.h +++ b/bsps/powerpc/virtex/include/bsp/opbintctrl.h @@ -15,7 +15,6 @@ #define _INCLUDE_OPBINTCTRL_H #include <rtems.h> -#include <rtems/system.h> #include <rtems/score/isr.h> #include <rtems/irq.h> #include <bspopts.h> diff --git a/bsps/sh/gensh1/start/cpu_asm.c b/bsps/sh/gensh1/start/cpu_asm.c index 2556623c47..bd98602ee7 100644 --- a/bsps/sh/gensh1/start/cpu_asm.c +++ b/bsps/sh/gensh1/start/cpu_asm.c @@ -30,7 +30,6 @@ * implementation in assembly should include "cpu_asm.h" */ -#include <rtems/system.h> #include <rtems/score/percpu.h> #include <rtems/score/isr.h> #include <rtems/score/threaddispatch.h> diff --git a/bsps/sh/gensh2/start/cpu_asm.c b/bsps/sh/gensh2/start/cpu_asm.c index 479b771d73..d483e2f065 100644 --- a/bsps/sh/gensh2/start/cpu_asm.c +++ b/bsps/sh/gensh2/start/cpu_asm.c @@ -29,7 +29,6 @@ * implementation in assembly should include "cpu_asm.h" */ -#include <rtems/system.h> #include <rtems/score/cpu.h> #include <rtems/score/isr.h> #include <rtems/score/threaddispatch.h> diff --git a/bsps/sh/gensh4/start/cpu_asm.c b/bsps/sh/gensh4/start/cpu_asm.c index 6b530fe8b7..a2738532ab 100644 --- a/bsps/sh/gensh4/start/cpu_asm.c +++ b/bsps/sh/gensh4/start/cpu_asm.c @@ -29,7 +29,6 @@ * implementation in assembly should include "cpu_asm.h" */ -#include <rtems/system.h> #include <rtems/score/cpu.h> #include <rtems/score/isr.h> #include <rtems/score/threaddispatch.h> diff --git a/bsps/sh/gensh4/start/ispsh7750.c b/bsps/sh/gensh4/start/ispsh7750.c index 5a1282f583..edce9569fc 100644 --- a/bsps/sh/gensh4/start/ispsh7750.c +++ b/bsps/sh/gensh4/start/ispsh7750.c @@ -35,7 +35,6 @@ * by the authors or by TGA Technologies. */ -#include <rtems/system.h> #include <rtems/score/isr.h> /* diff --git a/bsps/sh/shsim/start/cpu_asm.c b/bsps/sh/shsim/start/cpu_asm.c index 1b8135ee0a..db5171b17a 100644 --- a/bsps/sh/shsim/start/cpu_asm.c +++ b/bsps/sh/shsim/start/cpu_asm.c @@ -11,7 +11,6 @@ * http://www.rtems.org/license/LICENSE. */ -#include <rtems/system.h> #include <rtems/score/cpu.h> #include <rtems/score/isr.h> #include <rtems/score/percpu.h> |