From 583216ab227f0fa9dbcbbaa9858dd8299234f163 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 16 Jan 2018 13:07:36 +0100 Subject: linux/smp.h: Avoid function call overhead Update #3277. --- rtemsbsd/powerpc/include/linux/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemsbsd/powerpc/include/linux/smp.h b/rtemsbsd/powerpc/include/linux/smp.h index a9fac704..bf8e60e3 100644 --- a/rtemsbsd/powerpc/include/linux/smp.h +++ b/rtemsbsd/powerpc/include/linux/smp.h @@ -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); -- cgit v1.2.3