summaryrefslogtreecommitdiff
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-12-21 14:02:39 +0100
committerAurelien Jarno <aurelien@aurel32.net>2009-12-21 16:03:03 +0100
commit73b01960b4af0e75c955757034a91b6370a4edb8 (patch)
treec18182f35a0b9b787c26ac5f596c844011916b27 /target-ppc/helper.h
parentb711de9565d3c8f758956dfa96b648cc321577b6 (diff)
downloadqemu-73b01960b4af0e75c955757034a91b6370a4edb8.tar.gz
qemu-73b01960b4af0e75c955757034a91b6370a4edb8.tar.bz2
qemu-73b01960b4af0e75c955757034a91b6370a4edb8.zip
PPC: Make DCR uint32_t
For what I know DCR is always 32 bits wide, so we should also use uint32_t to pass it along the stacks. This fixes a warning when compiling qemu-system-ppc64 with KVM enabled, making it compile without --disable-werror Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r--target-ppc/helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index 5cf6cd4501..40d4cedeac 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -359,8 +359,8 @@ DEF_HELPER_2(divo, tl, tl, tl)
DEF_HELPER_2(divs, tl, tl, tl)
DEF_HELPER_2(divso, tl, tl, tl)
-DEF_HELPER_1(load_dcr, tl, tl);
-DEF_HELPER_2(store_dcr, void, tl, tl)
+DEF_HELPER_1(load_dcr, i32, i32);
+DEF_HELPER_2(store_dcr, void, i32, i32)
DEF_HELPER_1(load_dump_spr, void, i32)
DEF_HELPER_1(store_dump_spr, void, i32)