aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood/openrd-setup.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-01 15:40:23 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-09 10:55:04 +1100
commit1421ae0b29e0003395613bf67610d15fb7047e09 (patch)
tree5a187df5b64d7f247e72fa26f69eb94cfbd7b8d3 /arch/arm/mach-kirkwood/openrd-setup.c
parentfe1952fc0afb9a2e4c79f103c08aef5d13db1873 (diff)
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/arm/mach-kirkwood/openrd-setup.c')
0 files changed, 0 insertions, 0 deletions