]> rtime.felk.cvut.cz Git - linux-imx.git/commit
powerpc: Fix hypervisor facility unavaliable vector number
authorMichael Neuling <mikey@neuling.org>
Fri, 9 Aug 2013 07:29:27 +0000 (17:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 9 Aug 2013 08:06:58 +0000 (18:06 +1000)
commit88f094120bd2f012ff494ae50a8d4e0d8af8f69e
tree65db8e372eae1210675d87dcf8a858711f916b05
parente0e13614626bfb5a88678fd951d728ed40e3cbf6
powerpc: Fix hypervisor facility unavaliable vector number

Currently if we take hypervisor facility unavaliable (from 0xf80/0x4f80) we
mark it as an OS facility unavaliable (0xf60) as the two share the same code
path.

The becomes a problem in facility_unavailable_exception() as we aren't able to
see the hypervisor facility unavailable exceptions.

Below fixes this by duplication the required macros.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Cc: <stable@vger.kernel.org> [v3.10]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/exceptions-64s.S