aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-08 18:11:50 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-08 18:11:50 +0000
commitdb9a16a70c4225741797f47e5a9e5ceacfe12b74 (patch)
tree03db419b619c20834c98637f7a3e3d61e89b1215 /target-ppc
parent0e69805af6fe2ad9380c566f46cbe5b2275cb015 (diff)
target-ppc: kill a warning
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5952 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/op_helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 3c9e485f9c..cc4b6aceee 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -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 */