summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cpu_setup_6xx.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-01-20 21:36:03 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-02-07 02:47:57 +0100
commitaf9eef3c7b1ed004c378c89b87642f4937337d50 (patch)
treef71e3720f3f69711126bea0f2cd5cd5f0fc68894 /arch/powerpc/kernel/cpu_setup_6xx.S
parentpowerpc/book3e: Protect complex macro args in mmu-book3e.h (diff)
downloadlinux-af9eef3c7b1ed004c378c89b87642f4937337d50.tar.xz
linux-af9eef3c7b1ed004c378c89b87642f4937337d50.zip
powerpc: Pass the right cpu_spec to ->setup_cpu() on 64-bit
When calling setup_cpu() on 64-bit, we pass a pointer to the cputable entry we have found. This used to be fine when cur_cpu_spec was a pointer to that entry, but nowadays, we copy the entry into a separate variable, and we do so before we call the setup_cpu() callback. That means that any attempt by that callback at patching the CPU table entry (to adjust CPU features for example) will patch the wrong table. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/cpu_setup_6xx.S')
0 files changed, 0 insertions, 0 deletions