summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/powerpc')
-rw-r--r--c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c6
-rw-r--r--c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c
index 228c030f16..daae4e2959 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c
@@ -8,11 +8,11 @@
* http://www.rtems.com/license/LICENSE.
*/
-#include <rtems.h>
-#include <rtems/score/apiext.h>
-
#include <bsp/vectors.h>
+#include <rtems/score/apiext.h>
+#include <rtems/score/threaddispatch.h>
+
/* Provide temp. storage space for a few registers.
* This is used by the assembly code prior to setting up
* the stack.
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c
index 6172ab650d..666685b519 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c
@@ -19,6 +19,8 @@
#include <bsp/vectors.h>
+#include <rtems/score/threaddispatch.h>
+
#ifndef __SPE__
#define GET_GPR(gpr) (gpr)
#else