summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcontext01/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-20 07:56:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-20 09:11:05 +0200
commit42f2fdfd4e18a783e8be4f26f83ce86c7a1fedb0 (patch)
tree7712dfa1591715b0bff54b06e949512b8c636d68 /testsuites/sptests/spcontext01/init.c
parentscore: Remove obsolete CPU port defines (diff)
downloadrtems-42f2fdfd4e18a783e8be4f26f83ce86c7a1fedb0.tar.bz2
score: Move context validation declarations
The context validation support functions _CPU_Context_validate() and _CPU_Context_volatile_clobber() are used only by one test program (spcontext01). Move the function declarations to the CPU port implementation header file.
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/spcontext01/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/sptests/spcontext01/init.c b/testsuites/sptests/spcontext01/init.c
index 7f874751f6..cf03dafef1 100644
--- a/testsuites/sptests/spcontext01/init.c
+++ b/testsuites/sptests/spcontext01/init.c
@@ -16,7 +16,9 @@
#include "config.h"
#endif
-#include "tmacros.h"
+#include <rtems/score/cpuimpl.h>
+
+#include <tmacros.h>
const char rtems_test_name[] = "SPCONTEXT 1";