summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/idle_power7.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2012-03-02 01:33:52 +0100
committerBenjamin Herrenschmidt2012-03-09 00:55:20 +0100
commitd9ada91ae2969ae6b6dc3574fd08a6ebda5df766 (patch)
treea4509657892acb0b853760d6d26729a913a5fc2b /arch/powerpc/kernel/idle_power7.S
parentpowerpc: Fix 64-bit BookE FP unavailable exceptions (diff)
downloadkernel-qcow2-linux-d9ada91ae2969ae6b6dc3574fd08a6ebda5df766.tar.gz
kernel-qcow2-linux-d9ada91ae2969ae6b6dc3574fd08a6ebda5df766.tar.xz
kernel-qcow2-linux-d9ada91ae2969ae6b6dc3574fd08a6ebda5df766.zip
powerpc: Replace mfmsr instructions with load from PACA kernel_msr field
On 64-bit, the mfmsr instruction can be quite slow, slower than loading a field from the cache-hot PACA, which happens to already contain the value we want in most cases. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/idle_power7.S')
0 files changed, 0 insertions, 0 deletions