diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-04-05 15:49:23 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-04-27 18:05:23 +1000 |
commit | 88f42c6773c0c09f5c38d5eb0cd6e8b7aed4dfeb (patch) | |
tree | e18d2df0fc12deac25e4cb935924c4bd519ee294 /hw/tpm | |
parent | 4550f6a5da691fa45e801f391e947ff4236d1fa6 (diff) |
spapr: Set compatibility mode before the rest of spapr_cpu_reset()
Although the order doesn't really matter at the moment, it's possible
other initializastions could depend on the compatiblity mode, so make sure
we set it first in spapr_cpu_reset().
While we're at it drop the test against first_cpu. Setting the compat mode
to the value it already has is redundant, but harmless, so we might as well
make a small simplification to the code.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/tpm')
0 files changed, 0 insertions, 0 deletions