diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-25 14:11:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-26 09:16:25 +0200 |
commit | 48fed9a56e6df6e766ca18d821278112fc1bfa10 (patch) | |
tree | 4a9a0938539b804ac968f75b05bb47c94ff00ca8 /cpukit/score | |
parent | score: Fix extern "C" in <rtems/score/heap.h> (diff) | |
download | rtems-48fed9a56e6df6e766ca18d821278112fc1bfa10.tar.bz2 |
score: Simplify <rtems/system.h>
Drop the <rtems/score/percpu.h> include since this file exposes a lot of
implementation details.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/arm/arm_exc_handler_high.c | 1 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/cpu.c | 1 | ||||
-rw-r--r-- | cpukit/score/cpu/m68k/cpu.c | 2 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c | 2 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/userextimpl.h | 1 | ||||
-rw-r--r-- | cpukit/score/include/rtems/system.h | 2 | ||||
-rw-r--r-- | cpukit/score/src/corespinlockrelease.c | 2 |
7 files changed, 7 insertions, 4 deletions
diff --git a/cpukit/score/cpu/arm/arm_exc_handler_high.c b/cpukit/score/cpu/arm/arm_exc_handler_high.c index dda49dbf1a..27500f1824 100644 --- a/cpukit/score/cpu/arm/arm_exc_handler_high.c +++ b/cpukit/score/cpu/arm/arm_exc_handler_high.c @@ -32,6 +32,7 @@ #include <rtems/score/isr.h> #include <rtems/score/wkspace.h> #include <rtems/score/thread.h> +#include <rtems/score/percpu.h> #include <rtems/score/cpu.h> #ifdef ARM_MULTILIB_ARCH_V4 diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c index 38b84e6750..436c822eb1 100644 --- a/cpukit/score/cpu/i386/cpu.c +++ b/cpukit/score/cpu/i386/cpu.c @@ -24,6 +24,7 @@ #include <rtems/score/idtr.h> #include <rtems/bspIo.h> +#include <rtems/score/percpu.h> #include <rtems/score/thread.h> #define I386_ASSERT_OFFSET(field, off) \ diff --git a/cpukit/score/cpu/m68k/cpu.c b/cpukit/score/cpu/m68k/cpu.c index 4efaaa49ef..ad46c10e78 100644 --- a/cpukit/score/cpu/m68k/cpu.c +++ b/cpukit/score/cpu/m68k/cpu.c @@ -17,8 +17,8 @@ #include "config.h" #endif -#include <rtems/system.h> #include <rtems/score/isr.h> +#include <rtems/score/percpu.h> #include <rtems/score/tls.h> #if defined( __mcoldfire__ ) && ( M68K_HAS_FPU == 1 ) diff --git a/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c b/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c index 24cc8e472f..b35de2baad 100644 --- a/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c +++ b/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c @@ -16,9 +16,9 @@ #include "config.h" #endif -#include <rtems/system.h> #include <rtems/score/isr.h> #include <rtems/score/nios2-utility.h> +#include <rtems/score/percpu.h> bool _ISR_Is_in_progress( void ) { diff --git a/cpukit/score/include/rtems/score/userextimpl.h b/cpukit/score/include/rtems/score/userextimpl.h index 19055f976b..8c2a1fac4d 100644 --- a/cpukit/score/include/rtems/score/userextimpl.h +++ b/cpukit/score/include/rtems/score/userextimpl.h @@ -20,6 +20,7 @@ #include <rtems/score/userext.h> #include <rtems/score/chainimpl.h> +#include <rtems/score/percpu.h> #ifdef __cplusplus extern "C" { diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h index d063c78063..26156c64f7 100644 --- a/cpukit/score/include/rtems/system.h +++ b/cpukit/score/include/rtems/system.h @@ -20,7 +20,7 @@ #ifndef _RTEMS_SYSTEM_H #define _RTEMS_SYSTEM_H -#include <rtems/score/percpu.h> +#include <rtems/score/cpu.h> /** * @defgroup ScoreSystem System Information diff --git a/cpukit/score/src/corespinlockrelease.c b/cpukit/score/src/corespinlockrelease.c index 5ff58074c4..c10337a123 100644 --- a/cpukit/score/src/corespinlockrelease.c +++ b/cpukit/score/src/corespinlockrelease.c @@ -18,8 +18,8 @@ #include "config.h" #endif -#include <rtems/system.h> #include <rtems/score/corespinlockimpl.h> +#include <rtems/score/percpu.h> #include <rtems/score/thread.h> #include <rtems/score/watchdog.h> |