OSDN Git Service

powerpc/mm: Assume first cpu is boot_cpuid not 0
authorMatthew McClintock <msm@freescale.com>
Tue, 31 Aug 2010 13:24:44 +0000 (13:24 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 2 Sep 2010 04:07:34 +0000 (14:07 +1000)
commit0d35e1620d2882d74faed90d9ac457bf6c7a0886
treef6fd2ef4485227ec92306214545441cee7dd91a0
parent86250b9d12caa1a3dee12a7cf638b7dd70eaadb6
powerpc/mm: Assume first cpu is boot_cpuid not 0

arch/powerpc/mm/mmu_context_nohash.c assumes the boot cpu
will always have smp_processor_id() == 0. This patch fixes
that assumption

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/mmu_context_nohash.c