kernel-ark/arch/powerpc/platforms
Anton Blanchard 4df20460a3 [PATCH] powerpc: Allow non zero boot cpuids
We currently have a hack to flip the boot cpu and its secondary thread
to logical cpuid 0 and 1. This means the logical - physical mapping will
differ depending on which cpu is boot cpu. This is most apparent on
kexec, where we might kexec on any cpu and therefore change the mapping
from boot to boot.

The patch below does a first pass early on to work out the logical cpuid
of the boot thread. We then fix up some paca structures to match.

Ive also removed the boot_cpuid_phys variable for ppc64, to be
consistent we use get_hard_smp_processor_id(boot_cpuid) everywhere.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-27 14:48:48 +11:00
..
4xx
8xx
83xx
85xx
apus
cell [PATCH] spufs: Fix endless protection fault on LS writes by SPE. 2006-03-27 14:48:44 +11:00
chrp
embedded6xx
iseries
maple
powermac [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
prep
pseries [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
Makefile