diff options
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 0c5e362c73..531ba1b155 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -339,7 +339,7 @@ static void switch_tss(int tss_selector, necessary to valid the TLB after having done the accesses */ v1 = ldub_kernel(env->tr.base); - v2 = ldub(env->tr.base + old_tss_limit_max); + v2 = ldub_kernel(env->tr.base + old_tss_limit_max); stb_kernel(env->tr.base, v1); stb_kernel(env->tr.base + old_tss_limit_max, v2); |