From: aurel32 Date: Fri, 5 Dec 2008 16:05:41 +0000 (+0000) Subject: Fix PPC PREP platform, broken by commit 5849 X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~13402 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dd8c1380312a64e8f73a84e30e11f42598f6c46;p=sdk%2Femulator%2Fqemu.git Fix PPC PREP platform, broken by commit 5849 Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5884 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index dccd9ea..571c48e 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);