linux-user: fix build with gcc-4.1

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2009-12-24 00:17:12 +01:00
parent 58e3e40027
commit f7001a3b9e
1 changed files with 2 additions and 0 deletions

View File

@ -548,6 +548,8 @@ static int do_strex(CPUARMState *env)
case 3:
segv = get_user_u32(val, addr);
break;
default:
abort();
}
if (segv) {
env->cp15.c6_data = addr;