summaryrefslogtreecommitdiff
path: root/hw/ppc_prep.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 16:05:41 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 16:05:41 +0000
commit4dd8c1380312a64e8f73a84e30e11f42598f6c46 (patch)
treec4ee79753adaf3cfc75e8c18ecc31b5dc82de282 /hw/ppc_prep.c
parent3476f891ccc3fa128de433845b93e23194444859 (diff)
downloadqemu-4dd8c1380312a64e8f73a84e30e11f42598f6c46.zip
Fix PPC PREP platform, broken by commit 5849
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5884 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r--hw/ppc_prep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index dccd9eacfb..571c48e138 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -122,7 +122,7 @@ static always_inline uint32_t _PPC_intack_read (target_phys_addr_t addr)
{
uint32_t retval = 0;
- if (addr & 0xf == 0)
+ if ((addr & 0xf) == 0)
retval = pic_intack_read(isa_pic);
// printf("%s: 0x" PADDRX " <= %08" PRIx32 "\n", __func__, addr, retval);