summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2024-04-09 17:53:32 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2024-04-09 20:07:25 +0200
commit4716f098b6a8d6f0e5335d77e1be104bfa8115b7 (patch)
tree87a743cf612a7c3763231462bbaa467456f1ca36
parentbsp/qoriq: Do not build unused object (diff)
downloadrtems-4716f098b6a8d6f0e5335d77e1be104bfa8115b7.tar.bz2
bsps: Include <rtems/score/processormaskimpl.h>
This fixes commit b678a199e499b6c3f0b453393434aefaee180423 for SMP configurations.
-rw-r--r--bsps/i386/shared/irq/irq.c1
-rw-r--r--bsps/shared/dev/clock/clockimpl.h1
-rw-r--r--bsps/shared/dev/irq/arm-gicv2.c1
-rw-r--r--bsps/shared/dev/irq/arm-gicv3.c1
-rw-r--r--bsps/sparc/leon3/start/eirq.c1
-rw-r--r--bsps/sparc/shared/irq/irq-shared.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/bsps/i386/shared/irq/irq.c b/bsps/i386/shared/irq/irq.c
index 57753c2f77..3f85c69812 100644
--- a/bsps/i386/shared/irq/irq.c
+++ b/bsps/i386/shared/irq/irq.c
@@ -15,6 +15,7 @@
#include <bsp/irq.h>
#include <bsp/irq-generic.h>
#include <rtems/score/cpu.h>
+#include <rtems/score/processormaskimpl.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/bsps/shared/dev/clock/clockimpl.h b/bsps/shared/dev/clock/clockimpl.h
index 592046ec27..b27f7c15bc 100644
--- a/bsps/shared/dev/clock/clockimpl.h
+++ b/bsps/shared/dev/clock/clockimpl.h
@@ -42,6 +42,7 @@
#include <bsp.h>
#include <rtems/clockdrv.h>
#include <rtems/score/percpu.h>
+#include <rtems/score/processormaskimpl.h>
#include <rtems/score/smpimpl.h>
#include <rtems/score/timecounter.h>
#include <rtems/score/thread.h>
diff --git a/bsps/shared/dev/irq/arm-gicv2.c b/bsps/shared/dev/irq/arm-gicv2.c
index 3cd27b2fa6..b7e30f2eb2 100644
--- a/bsps/shared/dev/irq/arm-gicv2.c
+++ b/bsps/shared/dev/irq/arm-gicv2.c
@@ -38,6 +38,7 @@
#include <bsp/irq-generic.h>
#include <bsp/start.h>
+#include <rtems/score/processormaskimpl.h>
#define GIC_CPUIF ((volatile gic_cpuif *) BSP_ARM_GIC_CPUIF_BASE)
diff --git a/bsps/shared/dev/irq/arm-gicv3.c b/bsps/shared/dev/irq/arm-gicv3.c
index f85582ccff..8aad0f6482 100644
--- a/bsps/shared/dev/irq/arm-gicv3.c
+++ b/bsps/shared/dev/irq/arm-gicv3.c
@@ -29,6 +29,7 @@
#include <bsp/irq-generic.h>
#include <bsp/start.h>
+#include <rtems/score/processormaskimpl.h>
void bsp_interrupt_dispatch(void)
{
diff --git a/bsps/sparc/leon3/start/eirq.c b/bsps/sparc/leon3/start/eirq.c
index a0934a7848..58ef1828d6 100644
--- a/bsps/sparc/leon3/start/eirq.c
+++ b/bsps/sparc/leon3/start/eirq.c
@@ -40,6 +40,7 @@
#include <bsp/irq-generic.h>
#include <bsp/irqimpl.h>
+#include <rtems/score/processormaskimpl.h>
#if !defined(LEON3_IRQAMP_EXTENDED_INTERRUPT)
/* GRLIB extended IRQ controller IRQ number */
diff --git a/bsps/sparc/shared/irq/irq-shared.c b/bsps/sparc/shared/irq/irq-shared.c
index 18360b2b8e..3d73ad90e7 100644
--- a/bsps/sparc/shared/irq/irq-shared.c
+++ b/bsps/sparc/shared/irq/irq-shared.c
@@ -29,6 +29,7 @@
#include <bsp.h>
#include <bsp/irq-generic.h>
+#include <rtems/score/processormaskimpl.h>
static inline int bsp_irq_cpu(int irq)
{