kernel_optimize_test/arch/powerpc
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
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs [PATCH] powerpc: update cell defconfig 2006-03-27 14:48:16 +11:00
kernel [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
lib [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
mm [PATCH] powerpc: hot_add_scn_to_nid() build fix 2006-03-27 14:48:34 +11:00
oprofile [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature 2006-03-22 15:04:17 +11:00
platforms [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
sysdev Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig [PATCH] bitops: powerpc: use generic bitops 2006-03-26 08:57:14 -08:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00