[rtems-libbsd commit] ZONE(9): Define SMP if RTEMS_SMP is defined

Sebastian Huber sebh at rtems.org
Fri Sep 11 09:52:12 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    2dea47c82f903f7affad8bf5f4d0f149ab00a5d3
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=2dea47c82f903f7affad8bf5f4d0f149ab00a5d3

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Sep  7 08:35:21 2015 +0200

ZONE(9): Define SMP if RTEMS_SMP is defined

---

 freebsd/sys/vm/uma_core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/freebsd/sys/vm/uma_core.c b/freebsd/sys/vm/uma_core.c
index 1d429ef..593e7f3 100644
--- a/freebsd/sys/vm/uma_core.c
+++ b/freebsd/sys/vm/uma_core.c
@@ -99,6 +99,7 @@ __FBSDID("$FreeBSD$");
     #define curcpu rtems_get_current_processor()
     #undef mp_maxid
     #define mp_maxid rtems_get_processor_count()
+    #define SMP
   #endif
 #endif /* __rtems__ */
 




More information about the vc mailing list