ZONE(9): Fix mp_maxid definition

This commit is contained in:
Sebastian Huber 2016-05-06 07:57:46 +02:00
parent 5611dfaf95
commit ce4cfe1f07

View File

@ -98,7 +98,7 @@ __FBSDID("$FreeBSD$");
#undef curcpu #undef curcpu
#define curcpu rtems_get_current_processor() #define curcpu rtems_get_current_processor()
#undef mp_maxid #undef mp_maxid
#define mp_maxid rtems_get_processor_count() #define mp_maxid (rtems_get_processor_count() - 1)
#define SMP #define SMP
#endif #endif
#endif /* __rtems__ */ #endif /* __rtems__ */