[rtems commit] bsp/qoriq: Optional multiprocessing support

Sebastian Huber sebh at rtems.org
Mon Jan 22 09:39:34 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jan 16 11:40:17 2018 +0100

bsp/qoriq: Optional multiprocessing support

Update #3085.

---

 c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c b/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c
index 2fd656c..af828f0 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/shmsupp/intercom.c
@@ -32,6 +32,8 @@
 #include <bsp/qoriq.h>
 #include <bsp/intercom.h>
 
+#ifdef RTEMS_MULTIPROCESSING
+
 #define INTERCOM_EVENT_IPI RTEMS_EVENT_13
 #define INTERCOM_EVENT_WAKE_UP RTEMS_EVENT_14
 
@@ -492,3 +494,5 @@ intercom_packet *qoriq_intercom_clone_packet(const intercom_packet *packet)
 
 	return clone;
 }
+
+#endif /* RTEMS_MULTIPROCESSING */



More information about the vc mailing list