From: aurel32 Date: Mon, 8 Dec 2008 18:11:50 +0000 (+0000) Subject: target-ppc: kill a warning X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~13334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db9a16a70c4225741797f47e5a9e5ceacfe12b74;p=sdk%2Femulator%2Fqemu.git 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 --- 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 */