path: root/target-ppc/cpu.h
diff options
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-27 16:56:36 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2016-09-07 12:40:10 +1000
commit57a2988b6f750548052254c20796be6d87d2ab9f (patch)
tree489168b229756b277aac90396eef5e37065929c9 /target-ppc/cpu.h
parenta13f0a9bc4e6f35be3f64bd7048eec565957a7d4 (diff)
ppc: Don't update NIP in facility unavailable interrupts
This is no longer necessary as the helpers will properly retrieve the return address when needed. Also remove gen_update_current_nip() which didn't seem to make much sense to me. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc/cpu.h')
1 files changed, 0 insertions, 1 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index a872efb887..1e808c8884 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1202,7 +1202,6 @@ extern const struct VMStateDescription vmstate_ppc_cpu;
PowerPCCPU *cpu_ppc_init(const char *cpu_model);
void ppc_translate_init(void);
const char *ppc_cpu_lookup_alias(const char *alias);
-void gen_update_current_nip(void *opaque);
/* you can call this signal handler from your SIGBUS and SIGSEGV
signal handlers to inform the virtual CPU of exceptions. non zero
is returned if the signal was handled by the virtual CPU. */