summaryrefslogtreecommitdiffstats
path: root/include/asm-um/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/smp.h')
-rw-r--r--include/asm-um/smp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-um/smp.h b/include/asm-um/smp.h
index 4412d5d9c26b..d879eba2b52c 100644
--- a/include/asm-um/smp.h
+++ b/include/asm-um/smp.h
@@ -8,7 +8,8 @@
#include "asm/current.h"
#include "linux/cpumask.h"
-#define smp_processor_id() (current_thread->cpu)
+#define raw_smp_processor_id() (current_thread->cpu)
+
#define cpu_logical_map(n) (n)
#define cpu_number_map(n) (n)
#define PROC_CHANGE_PENALTY 15 /* Pick a number, any number */
OpenPOWER on IntegriCloud