ppc/xics: move the cpu_setup() handler under the ICPState class
commitf023243432b397ace5345bd47d4dc62609241484
authorCédric Le Goater <clg@kaod.org>
Mon, 27 Feb 2017 14:29:24 +0000 (27 15:29 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Mar 2017 00:23:39 +0000 (1 11:23 +1100)
tree6b3c2e84bd1bd0112f98455b184bf61820ad2af3
parentbf50860d1b3652e480b4efef9856afa428c3d8d4
ppc/xics: move the cpu_setup() handler under the ICPState class

The cpu_setup() handler is currently under the XICSState class but it
really belongs under ICPState as it is setting up an individual vCPU.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics.c
hw/intc/xics_kvm.c
include/hw/ppc/xics.h