KVM: x86 emulator: add ad_mask static inline
authorHarvey Harrison <harvey.harrison@gmail.com>
Mon, 18 Feb 2008 19:12:48 +0000 (11:12 -0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:22 +0000 (11:53 +0300)
commitddcb2885e2902ebfc422eccd763b02c5ee22d68b
tree22acf0af546e312713cfe9516e41fb51f27ba521
parent790c73f6289a204f858ffdcbe4a2b38e91657ec6
KVM: x86 emulator: add ad_mask static inline

Replaces open-coded mask calculation in macros.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86_emulate.c