Patchwork [2/5] target-ppc: Rework storage of VPA registration state

login
register
mail settings
Submitter Alexander Graf
Date Nov. 1, 2012, 12:07 p.m.
Message ID <1351771637-20685-3-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/196177/
State New
Headers show

Comments

Alexander Graf - Nov. 1, 2012, 12:07 p.m.
From: David Gibson <david@gibson.dropbear.id.au>

We change the storage of the VPA information to explicitly use fixed
size integer types which will make life easier for syncing this data with
KVM, which we will need in future.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[agraf: fix commit message]
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 target-ppc/cpu.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 286f42a..e603d9f 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1045,9 +1045,9 @@  struct CPUPPCState {
 #endif
 
 #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY)
-    hwaddr vpa_addr;
-    hwaddr slb_shadow_addr, slb_shadow_size;
-    hwaddr dtl_addr, dtl_size;
+    uint64_t vpa_addr;
+    uint64_t slb_shadow_addr, slb_shadow_size;
+    uint64_t dtl_addr, dtl_size;
 #endif /* TARGET_PPC64 */
 
     int error_code;