target-ppc: kill a warning
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 8 Dec 2008 18:11:50 +0000 (18:11 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 8 Dec 2008 18:11:50 +0000 (18:11 +0000)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5952 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/op_helper.c

index 3c9e485..cc4b6ac 100644 (file)
@@ -1860,6 +1860,7 @@ void helper_rfsvc (void)
 /* 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 @@ target_ulong helper_602_mfrom (target_ulong arg)
         return 0;
     }
 }
+#endif
 
 /*****************************************************************************/
 /* Embedded PowerPC specific helpers */