]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/powerpc/kernel/exceptions-64s.S
powerpc: Use the same interrupt prolog for perfmon as other interrupts
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 29 Feb 2012 23:52:01 +0000 (10:52 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Mar 2012 23:55:00 +0000 (10:55 +1100)
commit7450f6f03e9d6dc95d2014c4cceac8adf98560e8
treef3d7f8b2de2cb1fe3a7d4b683b944a9ad4040ea0
parent4f8cf36f48b4648a5231e9fc8e49faea377246f4
powerpc: Use the same interrupt prolog for perfmon as other interrupts

The perfmon interrupt is the sole user of a special variant of the
interrupt prolog which differs from the one used by external and timer
interrupts in that it saves the non-volatile GPRs and doesn't turn the
runlatch on.

The former is unnecessary and the later is arguably incorrect, so
let's clean that up by using the same prolog. While at it we rename
that prolog to use the _ASYNC prefix.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/kernel/exceptions-64s.S