mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 17:19:18 +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
|
||||
#define curcpu rtems_get_current_processor()
|
||||
#undef mp_maxid
|
||||
#define mp_maxid rtems_get_processor_count()
|
||||
#define mp_maxid (rtems_get_processor_count() - 1)
|
||||
#define SMP
|
||||
#endif
|
||||
#endif /* __rtems__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user