From: edgar_igl Date: Sat, 3 May 2008 08:35:16 +0000 (+0000) Subject: CRIS: Reduce the number of tb dependent flags. X-Git-Tag: xen-3.3.0-rc1~194^2^2~147 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5d1d98ec4d4ef97d708e26674169ed3d1cae6413;p=qemu-xen-3.4-testing.git CRIS: Reduce the number of tb dependent flags. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4305 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/cpu-exec.c b/cpu-exec.c index e164021b..d4a3dccb 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -257,7 +257,7 @@ static inline TranslationBlock *tb_find_fast(void) cs_base = 0; pc = env->pc; #elif defined(TARGET_CRIS) - flags = env->pregs[PR_CCS]; + flags = env->pregs[PR_CCS] & (U_FLAG | X_FLAG); cs_base = 0; pc = env->pc; #else