linux/smp.h: Avoid function call overhead

Update #3277.
This commit is contained in:
Sebastian Huber
2018-01-16 13:07:36 +01:00
parent fe05886a55
commit 583216ab22

View File

@@ -34,7 +34,7 @@
extern "C" {
#endif /* __cplusplus */
#define smp_processor_id() ((int)rtems_get_current_processor())
#define smp_processor_id() ((int)_SMP_Get_current_processor())
typedef void (*smp_call_func_t)(void *arg);