summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-23 07:28:51 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-23 07:28:51 +0100
commit469fdebf25198ae6f03225e51c347567365b77bc (patch)
tree7fdb186b9c075986fd68f1c0d18e244182233e80
parent5fb838d1811c61d3d4a4c0870c94ebd14df9ef6e (diff)
downloadrtems-469fdebf25198ae6f03225e51c347567365b77bc.tar.bz2
bsp/qoriq: Fix define for optional intercom
Update #3085.
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c b/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c
index af828f083c..e7e0d5650f 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c
@@ -32,7 +32,7 @@
#include <bsp/qoriq.h>
#include <bsp/intercom.h>
-#ifdef RTEMS_MULTIPROCESSING
+#ifndef QORIQ_IS_HYPERVISOR_GUEST
#define INTERCOM_EVENT_IPI RTEMS_EVENT_13
#define INTERCOM_EVENT_WAKE_UP RTEMS_EVENT_14
@@ -495,4 +495,4 @@ intercom_packet *qoriq_intercom_clone_packet(const intercom_packet *packet)
return clone;
}
-#endif /* RTEMS_MULTIPROCESSING */
+#endif /* !QORIQ_IS_HYPERVISOR_GUEST */