]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Rename and flesh out the facility unavailable exception handler
authorMichael Ellerman <michaele@au1.ibm.com>
Tue, 25 Jun 2013 07:47:56 +0000 (17:47 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:49:44 +0000 (11:49 +1000)
commit3a7fb88899f83e5abe9ed3c33b781d5457104f48
treeb09cf27e481ba34cf6e390017014927d60301a36
parent02dd0dd797f66d818df3775aa0396459dce8dd72
powerpc: Rename and flesh out the facility unavailable exception handler

The exception at 0xf60 is not the TM (Transactional Memory) unavailable
exception, it is the "Facility Unavailable Exception", rename it as
such.

Flesh out the handler to acknowledge the fact that it can be called for
many reasons, one of which is TM being unavailable.

Use STD_EXCEPTION_COMMON() for the exception body, for some reason we
had it open-coded, I've checked the generated code is identical.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
CC: <stable@vger.kernel.org> [v3.10]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/traps.c