[rtems commit] bsp/qoriq: Fix define for optional intercom
Sebastian Huber
sebh at rtems.org
Tue Jan 23 06:30:38 UTC 2018
Module: rtems
Branch: master
Commit: 469fdebf25198ae6f03225e51c347567365b77bc
Changeset: http://git.rtems.org/rtems/commit/?id=469fdebf25198ae6f03225e51c347567365b77bc
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jan 23 07:28:51 2018 +0100
bsp/qoriq: Fix define for optional intercom
Update #3085.
---
c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c | 4 ++--
1 file 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 af828f0..e7e0d56 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 */
More information about the vc
mailing list