mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 00:10:02 +08:00
ZONE(9): Fix mp_maxid definition
This commit is contained in:
parent
5611dfaf95
commit
ce4cfe1f07
@ -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__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user