]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit219d2c85eeab0a6a4088792ed9454cca67c521b8
treef3d7f8b2de2cb1fe3a7d4b683b944a9ad4040ea0
parent25c0f62e80ad69fb5d8979887d6531f4b6ba115f
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