[rtems commit] bsp/qoriq: Map intercom area only if necessary
Sebastian Huber
sebh at rtems.org
Wed Oct 28 12:08:08 UTC 2015
Module: rtems
Branch: master
Commit: 3abfe7ca2a9becc0c7c11873b393572f70a8fa62
Changeset: http://git.rtems.org/rtems/commit/?id=3abfe7ca2a9becc0c7c11873b393572f70a8fa62
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Oct 27 09:53:47 2015 +0100
bsp/qoriq: Map intercom area only if necessary
---
c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c b/c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c
index a5e62a9..ceb64a6 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c
@@ -87,7 +87,9 @@ typedef struct {
}
static const entry DATA config [] = {
- #if defined(QORIQ_INTERCOM_AREA_BEGIN) && defined(QORIQ_INTERCOM_AREA_SIZE)
+ #if defined(RTEMS_MULTIPROCESSING) && \
+ defined(QORIQ_INTERCOM_AREA_BEGIN) && \
+ defined(QORIQ_INTERCOM_AREA_SIZE)
{
.begin = QORIQ_INTERCOM_AREA_BEGIN,
.size = QORIQ_INTERCOM_AREA_SIZE,
More information about the vc
mailing list