target-mips: get rid of tests on env->user_mode_only
commit932e71cd57bab4e6206e1355c6425290721bbe34
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 Jan 2009 21:33:13 +0000 (12 21:33 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 Jan 2009 21:33:13 +0000 (12 21:33 +0000)
treeff7567c8318ff81adfb798b1ff8f7e3d63120e83
parentae1c1a3d68c75ebc5487f123c73dcfff5844b02a
target-mips: get rid of tests on env->user_mode_only

Replace runtime checks on env->user_mode_only by compile time
checks on CONFIG_USER_ONLY.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6276 c046a42c-6fe2-441c-8c8c-71466251a162
target-mips/helper.c
target-mips/translate.c
target-mips/translate_init.c