| Submitter | Alexander Graf |
|---|---|
| Date | July 7, 2011, 2:10 p.m. |
| Message ID | <4E15BE6B.4000101@suse.de> |
| Download | mbox | patch |
| Permalink | /patch/103676/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/spapr.h b/hw/spapr.h index 4130c13..a725d4a 100644 --- a/hw/spapr.h +++ b/hw/spapr.h @@ -1,6 +1,8 @@ #if !defined(__HW_SPAPR_H__) #define __HW_SPAPR_H__ +#include "hw/xics.h" + struct VIOsPAPRBus; struct icp_state; @@ -278,7 +280,7 @@ void spapr_register_hypercall(target_ulong opcode, spapr_hcall_fn fn); target_ulong spapr_hypercall(CPUState *env, target_ulong opcode, target_ulong *args); -static inline qemu_irq *spapr_find_qirq(sPAPREnvironment *spapr, +static inline qemu_irq spapr_find_qirq(sPAPREnvironment *spapr, int irq_num) {