Commit db9a16a70c4225741797f47e5a9e5ceacfe12b74
1 parent
0e69805a
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
Showing
1 changed file
with
2 additions
and
0 deletions
target-ppc/op_helper.c
@@ -1860,6 +1860,7 @@ void helper_rfsvc (void) | @@ -1860,6 +1860,7 @@ void helper_rfsvc (void) | ||
1860 | /* 602 specific instructions */ | 1860 | /* 602 specific instructions */ |
1861 | /* mfrom is the most crazy instruction ever seen, imho ! */ | 1861 | /* mfrom is the most crazy instruction ever seen, imho ! */ |
1862 | /* Real implementation uses a ROM table. Do the same */ | 1862 | /* Real implementation uses a ROM table. Do the same */ |
1863 | +#if !defined (CONFIG_USER_ONLY) | ||
1863 | #define USE_MFROM_ROM_TABLE | 1864 | #define USE_MFROM_ROM_TABLE |
1864 | target_ulong helper_602_mfrom (target_ulong arg) | 1865 | target_ulong helper_602_mfrom (target_ulong arg) |
1865 | { | 1866 | { |
@@ -1887,6 +1888,7 @@ target_ulong helper_602_mfrom (target_ulong arg) | @@ -1887,6 +1888,7 @@ target_ulong helper_602_mfrom (target_ulong arg) | ||
1887 | return 0; | 1888 | return 0; |
1888 | } | 1889 | } |
1889 | } | 1890 | } |
1891 | +#endif | ||
1890 | 1892 | ||
1891 | /*****************************************************************************/ | 1893 | /*****************************************************************************/ |
1892 | /* Embedded PowerPC specific helpers */ | 1894 | /* Embedded PowerPC specific helpers */ |