bit mask conversion fix (Harald Welte

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1129 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-11-09 22:08:48 +00:00
parent e0fe67aa72
commit 7a987127f4

View File

@ -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);