diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-01 04:40:23 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-08 23:55:04 (GMT) |
commit | 1421ae0b29e0003395613bf67610d15fb7047e09 (patch) | |
tree | 5a187df5b64d7f247e72fa26f69eb94cfbd7b8d3 /arch/powerpc/include/asm/exception-64s.h | |
parent | fe1952fc0afb9a2e4c79f103c08aef5d13db1873 (diff) | |
download | linux-fsl-qoriq-1421ae0b29e0003395613bf67610d15fb7047e09.tar.xz |
powerpc: Improve 64-bit syscall entry/exit
We unconditionally hard enable interrupts. This is unnecessary as
syscalls are expected to always be called with interrupts enabled.
While at it, we add a WARN_ON if that is not the case and
CONFIG_TRACE_IRQFLAGS is enabled (we don't want to add overhead
to the fast path when this is not set though).
Thus let's remove the enabling (and associated irq tracing) from
the syscall entry path. Also on Book3S, replace a few mfmsr
instructions with loads of PACAMSR from the PACA, which should be
faster & schedule better.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/exception-64s.h')
0 files changed, 0 insertions, 0 deletions