mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
a8b7373421
commit
f63ebfe0ac
3 changed files with 3 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue