mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
Update due to API changes
This commit is contained in:
@@ -115,9 +115,9 @@ __FBSDID("$FreeBSD$");
|
||||
#undef curcpu
|
||||
#define curcpu _SMP_Get_current_processor()
|
||||
#undef mp_maxid
|
||||
#define mp_maxid (rtems_get_processor_count() - 1)
|
||||
#define mp_maxid (_SMP_Get_processor_maximum() - 1)
|
||||
#undef mp_ncpus
|
||||
#define mp_ncpus rtems_get_processor_count()
|
||||
#define mp_ncpus _SMP_Get_processor_maximum()
|
||||
#define SMP
|
||||
#endif /* RTEMS_SMP */
|
||||
#endif /* __rtems__ */
|
||||
|
Reference in New Issue
Block a user