projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a9801
)
powerpc/powermac: Use set_hard_smp_processor_id() instead of smp_hw_index
author
Nathan Lynch
<ntl@pobox.com>
Wed, 10 Dec 2008 14:28:42 +0000
(14:28 +0000)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 16 Dec 2008 04:53:09 +0000
(15:53 +1100)
The hard_smp_processor_id functions are the appropriate interfaces for
managing physical CPU ids.
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/powermac/smp.c
b/arch/powerpc/platforms/powermac/smp.c
index 40f72c2a4699f101dbe90f17abbb2e0d31ab54fd..6b0711c15ecaf9ad506e6b9dfd8eec61677dd978 100644
(file)
--- a/
arch/powerpc/platforms/powermac/smp.c
+++ b/
arch/powerpc/platforms/powermac/smp.c
@@
-739,7
+739,7
@@
static void __init smp_core99_setup(int ncpus)
/* XXX should get this from reg properties */
for (i = 1; i < ncpus; ++i)
- s
mp_hw_index[i] = i
;
+ s
et_hard_smp_processor_id(i, i)
;
}
#endif