aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-28 19:42:20 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-28 19:42:20 +0000
commit880e52b8b037d5878c1120a15b45ebf6ac690d31 (patch)
treeeb1e279ecba07d7649558793417a159ae4f2640d /tcg
parent95153fde070c83d1c92141e52f16e1726eb62195 (diff)
Fix preprocessor guard condition
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4959 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index f09208a75c..4d1d1ec2bb 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -523,7 +523,7 @@ static void *qemu_st_helpers[4] = {
static void tcg_out_tlb_read (TCGContext *s, int r0, int r1, int r2,
int addr_reg, int s_bits, int offset)
{
-#ifdef TARGET_LONG_BITS
+#if TARGET_LONG_BITS == 32
tcg_out_rld (s, RLDICL, addr_reg, addr_reg, 0, 32);
tcg_out32 (s, (RLWINM