Skip to contentSkip to conversation

[5952] target-ppc: kill a warning

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

lore
Share & tools
lore
#0 lore raw

Revision: 5952

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5952
Author:   aurel32
Date:     2008-12-08 18:11:50 +0000 (Mon, 08 Dec 2008)

Log Message:
-----------
target-ppc: kill a warning

Modified Paths:
--------------
trunk/target-ppc/op_helper.c

Modified: trunk/target-ppc/op_helper.c
===================================================================

target-ppc/op_helper.c +2 -0
@@ -1860,6 +1860,7 @@
 /* 602 specific instructions */
 /* mfrom is the most crazy instruction ever seen, imho ! */
 /* Real implementation uses a ROM table. Do the same */
+#if !defined (CONFIG_USER_ONLY)
 #define USE_MFROM_ROM_TABLE
 target_ulong helper_602_mfrom (target_ulong arg)
 {
@@ -1887,6 +1888,7 @@
         return 0;
     }
 }
+#endif
 
 /*****************************************************************************/
 /* Embedded PowerPC specific helpers */