ppc: Provide basic raise_exception_* functions
commitdb789c6cd3383e472c2de0115c3d3fa4b2e5c825
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 27 Jul 2016 06:56:19 +0000 (27 16:56 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Sep 2016 02:33:46 +0000 (7 12:33 +1000)
treefea2e88db3a39d6161d2a56671f8039cccf2266d
parent323ad19bcc601d3ec9cb6f0f5b4d67b602fc519e
ppc: Provide basic raise_exception_* functions

Instead of using the same helpers called from translate.c, let's have
a bunch of functions that take the various argument combinations,
especially the retaddr which will be needed in subsequent patches,
and leave the helpers to be just that, helpers for translate.c

We don't yet convert all users, we'll go through them in subsequent
patches.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
--

v2. Fix raise_exception_ra() to properly pass raddr
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/cpu.h
target-ppc/excp_helper.c