[rtems commit] bsps: Include missing header file

Sebastian Huber sebh at rtems.org
Wed Jul 12 08:57:31 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jul 12 10:55:59 2017 +0200

bsps: Include missing header file

Update #3071.

---

 c/src/lib/libbsp/arm/shared/include/arm-gic-irq.h | 1 +
 c/src/lib/libbsp/powerpc/qoriq/include/irq.h      | 1 +
 c/src/lib/libbsp/shared/src/irq-generic.c         | 1 +
 c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h    | 2 +-
 c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h    | 1 +
 5 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/arm/shared/include/arm-gic-irq.h b/c/src/lib/libbsp/arm/shared/include/arm-gic-irq.h
index 1351cfb..09d3fe5 100644
--- a/c/src/lib/libbsp/arm/shared/include/arm-gic-irq.h
+++ b/c/src/lib/libbsp/arm/shared/include/arm-gic-irq.h
@@ -25,6 +25,7 @@
 
 #include <bsp.h>
 #include <bsp/arm-gic.h>
+#include <rtems/score/processormask.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/c/src/lib/libbsp/powerpc/qoriq/include/irq.h b/c/src/lib/libbsp/powerpc/qoriq/include/irq.h
index feee951..45bceee 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/include/irq.h
+++ b/c/src/lib/libbsp/powerpc/qoriq/include/irq.h
@@ -26,6 +26,7 @@
 #include <bsp.h>
 #include <rtems/irq.h>
 #include <rtems/irq-extension.h>
+#include <rtems/score/processormask.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/c/src/lib/libbsp/shared/src/irq-generic.c b/c/src/lib/libbsp/shared/src/irq-generic.c
index a773644..13bbccb 100755
--- a/c/src/lib/libbsp/shared/src/irq-generic.c
+++ b/c/src/lib/libbsp/shared/src/irq-generic.c
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 
 #include <rtems/score/apimutex.h>
+#include <rtems/score/processormask.h>
 #include <rtems/score/sysstate.h>
 
 #ifdef BSP_INTERRUPT_USE_INDEX_TABLE
diff --git a/c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h b/c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h
index 9860a7e..7789c9f 100644
--- a/c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h
+++ b/c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h
@@ -18,7 +18,7 @@
 #ifndef LIBBSP_ERC32_IRQ_CONFIG_H
 #define LIBBSP_ERC32_IRQ_CONFIG_H
 
-#include <rtems.h>
+#include <rtems/score/processormask.h>
 
 #define BSP_INTERRUPT_VECTOR_MAX_STD 15 /* Standard IRQ controller */
 #define BSP_INTERRUPT_VECTOR_MIN 0
diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h b/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h
index 964cc8c..c3e7959 100644
--- a/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h
+++ b/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h
@@ -19,6 +19,7 @@
 #define LIBBSP_LEON3_IRQ_CONFIG_H
 
 #include <leon.h>
+#include <rtems/score/processormask.h>
 
 #define BSP_INTERRUPT_VECTOR_MAX_STD 15 /* Standard IRQ controller */
 #define BSP_INTERRUPT_VECTOR_MAX_EXT 31 /* Extended IRQ controller */



More information about the vc mailing list