[rtems-libbsd commit] ZONE(9): Define SMP if RTEMS_SMP is defined
Sebastian Huber
sebh at rtems.org
Fri Sep 11 09:56:19 UTC 2015
Module: rtems-libbsd
Branch: 4.11
Commit: 14ec092058309297ead2a81dc6703634987caec0
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=14ec092058309297ead2a81dc6703634987caec0
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