summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 14:22:31 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-26 09:16:29 +0200
commit5f31bbe1054fb070bd426eca3168ab4ba051b28f (patch)
treeb73c9b4e9affa1f8813355288b389df39f8dacb3 /cpukit
parentscore: Simplify <rtems/score/scheduler.h> (diff)
downloadrtems-5f31bbe1054fb070bd426eca3168ab4ba051b28f.tar.bz2
libmisc: Simplify <rtems/stackchk.h>
Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/stackchk/check.c1
-rw-r--r--cpukit/libmisc/stackchk/stackchk.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index 27fe1aa3bc..dd64968e61 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -41,6 +41,7 @@
#include <rtems/bspIo.h>
#include <rtems/stackchk.h>
+#include <rtems/score/percpu.h>
#include "internal.h"
/*
diff --git a/cpukit/libmisc/stackchk/stackchk.h b/cpukit/libmisc/stackchk/stackchk.h
index 823c8dfde0..b824057f59 100644
--- a/cpukit/libmisc/stackchk/stackchk.h
+++ b/cpukit/libmisc/stackchk/stackchk.h
@@ -24,7 +24,7 @@
#include <stdbool.h> /* bool */
-#include <rtems/score/percpu.h> /* Thread_Control */
+#include <rtems/score/thread.h> /* Thread_Control */
#include <rtems/bspIo.h>
/**