From db9a16a70c4225741797f47e5a9e5ceacfe12b74 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 8 Dec 2008 18:11:50 +0000 Subject: [PATCH] target-ppc: kill a warning Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5952 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/op_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 3c9e485..cc4b6ac 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 */ -- 2.7.4