Skip to content

Commit

Permalink
spapr: Remove @next_irq
Browse files Browse the repository at this point in the history
This removes @next_irq from sPAPREnvironment which was used in old
IRQ allocator as XICS is now responsible for IRQs and keeps track of
allocated IRQs.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
  • Loading branch information
aik authored and agraf committed Jun 27, 2014
1 parent bee763d commit ba0e5bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hw/ppc/spapr.c
Expand Up @@ -891,7 +891,7 @@ static const VMStateDescription vmstate_spapr = {
.version_id = 2,
.minimum_version_id = 1,
.fields = (VMStateField[]) {
VMSTATE_UINT32(next_irq, sPAPREnvironment),
VMSTATE_UNUSED(4), /* used to be @next_irq */

/* RTC offset */
VMSTATE_UINT64(rtc_offset, sPAPREnvironment),
Expand Down Expand Up @@ -1295,7 +1295,6 @@ static void ppc_spapr_init(MachineState *machine)
/* Set up Interrupt Controller before we create the VCPUs */
spapr->icp = xics_system_init(smp_cpus * kvmppc_smt_threads() / smp_threads,
XICS_IRQS);
spapr->next_irq = XICS_IRQ_BASE;

/* init CPUs */
if (cpu_model == NULL) {
Expand Down

0 comments on commit ba0e5bf

Please sign in to comment.