Skip to contentSkip to conversation

[5884] Fix PPC PREP platform, broken by commit 5849

Qemu-devel Aurelien Jarno 1 participant 1 message Dec 5, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5884

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5884
Author:   aurel32
Date:     2008-12-05 16:05:41 +0000 (Fri, 05 Dec 2008)

Log Message:
-----------
Fix PPC PREP platform, broken by commit 5849

Modified Paths:
--------------
trunk/hw/ppc_prep.c

Modified: trunk/hw/ppc_prep.c
===================================================================

hw/ppc_prep.c +1 -1
@@ -122,7 +122,7 @@
 {
     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);