summaryrefslogtreecommitdiff
path: root/thunk.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-09 22:08:48 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-09 22:08:48 +0000
commit7a987127f424912cd356c443f77e4e6147b57b80 (patch)
tree015bc41d6a8564a6a54caa9db767e149f31a1cd3 /thunk.c
parente0fe67aa7240369b9ba3463df8c12c87955664c9 (diff)
downloadqemu-7a987127f424912cd356c443f77e4e6147b57b80.tar.gz
qemu-7a987127f424912cd356c443f77e4e6147b57b80.tar.bz2
qemu-7a987127f424912cd356c443f77e4e6147b57b80.zip
bit mask conversion fix (Harald Welte
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1129 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'thunk.c')
-rw-r--r--thunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thunk.c b/thunk.c
index b14fb17779..2dbc378cd9 100644
--- a/thunk.c
+++ b/thunk.c
@@ -236,7 +236,7 @@ unsigned int host_to_target_bitmask(unsigned int alpha_mask,
for(btp = trans_tbl; btp->x86_mask && btp->alpha_mask; btp++) {
if((alpha_mask & btp->alpha_mask) == btp->alpha_bits) {
- x86_mask |= btp->x86_mask;
+ x86_mask |= btp->x86_bits;
}
}
return(x86_mask);