projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b7711f
)
x86: add safe_smp_processor_id for x86_64
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Sat, 20 Oct 2007 01:23:02 +0000
(18:23 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 23 Oct 2007 20:37:23 +0000
(22:37 +0200)
Preperatory patch to allow crash_32/64.c merging
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/smp_64.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86/smp_64.h
b/include/asm-x86/smp_64.h
index 6f0e0273b6462cf3ad9a4a3a55e4c3091ab91890..ab612b0ff270a173a4300d1d6ed6bf2bdd9b3d65 100644
(file)
--- a/
include/asm-x86/smp_64.h
+++ b/
include/asm-x86/smp_64.h
@@
-76,6
+76,8
@@
extern unsigned __cpuinitdata disabled_cpus;
#endif /* CONFIG_SMP */
+#define safe_smp_processor_id() smp_processor_id()
+
static inline int hard_smp_processor_id(void)
{
/* we don't want to mark this access volatile - bad code generation */