summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorGreg Kurz2017-05-15 13:39:16 +0200
committerDavid Gibson2017-05-24 03:39:52 +0200
commitf63ebfe0ac9efc83ee6d3753e9b3ed7229d8b28a (patch)
tree292510d4cbf1699dcfc1f66667553bb7c8fa313e /include/hw
parenttarget/ppc: reset reservation in do_rfi() (diff)
downloadqemu-f63ebfe0ac9efc83ee6d3753e9b3ed7229d8b28a.tar.gz
qemu-f63ebfe0ac9efc83ee6d3753e9b3ed7229d8b28a.tar.xz
qemu-f63ebfe0ac9efc83ee6d3753e9b3ed7229d8b28a.zip
ppc/xics: simplify prototype of xics_spapr_init()
This function only does hypercall and RTAS-call registration, and thus never returns an error. This patch adapt the prototype to reflect that. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/xics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h
index 05e6acbb35..d6cb51f3ad 100644
--- a/include/hw/ppc/xics.h
+++ b/include/hw/ppc/xics.h
@@ -206,6 +206,6 @@ void icp_resend(ICPState *ss);
typedef struct sPAPRMachineState sPAPRMachineState;
int xics_kvm_init(sPAPRMachineState *spapr, Error **errp);
-int xics_spapr_init(sPAPRMachineState *spapr, Error **errp);
+void xics_spapr_init(sPAPRMachineState *spapr);
#endif /* XICS_H */