summaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-09-20 17:42:28 +0000
committerAlexander Graf <agraf@suse.de>2012-10-04 15:54:18 +0200
commit011aba24ed73000e126dd1bb90a6bea2afd91649 (patch)
treebdcdcada15ba384c3617921d79efe06d4710add3 /target-ppc/cpu.h
parent382be75df77142cf6bdc7f5852738029eeb9e23a (diff)
downloadqemu-011aba24ed73000e126dd1bb90a6bea2afd91649.tar.gz
target-ppc: Remove unused power_mode field from cpu state
CPUPPCState includes a variable 'power_mode' which is used nowhere. This patch removes it. This includes saving a dummy zero in its place during vmsave, to avoid breaking the save format. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index ca2fc2198e..faf4404078 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1079,7 +1079,6 @@ struct CPUPPCState {
int mmu_idx; /* precomputed MMU index to speed up mem accesses */
/* Power management */
- int power_mode;
int (*check_pow)(CPUPPCState *env);
#if !defined(CONFIG_USER_ONLY)