summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-16 13:07:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-23 14:54:30 +0100
commit583216ab227f0fa9dbcbbaa9858dd8299234f163 (patch)
tree6d7fb954e74ec2ec55a6c2e85e2d53216026176f
parentfe05886a55266eecf8c4e3fb62856c5ce0889967 (diff)
downloadrtems-libbsd-583216ab227f0fa9dbcbbaa9858dd8299234f163.tar.bz2
linux/smp.h: Avoid function call overhead
Update #3277.
-rw-r--r--rtemsbsd/powerpc/include/linux/smp.h2
1 files changed, 1 insertions, 1 deletions
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);