diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-01 19:33:52 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-08 18:55:20 -0500 |
commit | d9ada91ae2969ae6b6dc3574fd08a6ebda5df766 (patch) | |
tree | a4509657892acb0b853760d6d26729a913a5fc2b /arch/powerpc/kernel/head_fsl_booke.S | |
parent | 9424fabf8617c15e18a5ffd29bc3bcfa36620473 (diff) |
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/head_fsl_booke.S')
0 files changed, 0 insertions, 0 deletions