[rtems commit] bsps/sparc: Include right header file

Sebastian Huber sebh at rtems.org
Thu Oct 23 13:00:08 UTC 2014


Module:    rtems
Branch:    master
Commit:    866a6fc0130636d9541fffde080997831b62daeb
Changeset: http://git.rtems.org/rtems/commit/?id=866a6fc0130636d9541fffde080997831b62daeb

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Oct 23 14:31:15 2014 +0200

bsps/sparc: Include right header file

---

 .../libbsp/sparc/leon3/startup/bsp_fatal_halt.c    |    2 +-
 .../libbsp/sparc/shared/startup/bsp_fatal_halt.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bsp_fatal_halt.c b/c/src/lib/libbsp/sparc/leon3/startup/bsp_fatal_halt.c
index 2f4bd3a..fa907a3 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/bsp_fatal_halt.c
+++ b/c/src/lib/libbsp/sparc/leon3/startup/bsp_fatal_halt.c
@@ -11,8 +11,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
+#include <bsp.h>
 #include <leon.h>
-#include <rtems/score/sparc.h>
 
 #ifdef BSP_POWER_DOWN_AT_FATAL_HALT
 
diff --git a/c/src/lib/libbsp/sparc/shared/startup/bsp_fatal_halt.c b/c/src/lib/libbsp/sparc/shared/startup/bsp_fatal_halt.c
index 2cc7b6d..f32ddaa 100644
--- a/c/src/lib/libbsp/sparc/shared/startup/bsp_fatal_halt.c
+++ b/c/src/lib/libbsp/sparc/shared/startup/bsp_fatal_halt.c
@@ -11,7 +11,7 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#include <rtems/score/sparc.h>
+#include <bsp.h>
 
 #ifdef BSP_POWER_DOWN_AT_FATAL_HALT
 



More information about the vc mailing list