diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-07-17 09:16:11 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:18 -0400 |
commit | 1e3c5cb0d5a63b7169708614bfba0c7f25aa493e (patch) | |
tree | 55c1d3ded12dbacc2962a3406bcf5da3aa68a513 /drivers/kvm/x86_emulate.h | |
parent | 5eb549a085c3500f2b9d8b48d40393b6e50b68a9 (diff) |
KVM: Trivial: Make decode_register() static
I have shied away from touching x86_emulate.c (it could definitely use
some love, but it is forked from the Xen code, and it would be more
productive to cross-merge fixes).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.h')
-rw-r--r-- | drivers/kvm/x86_emulate.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/kvm/x86_emulate.h b/drivers/kvm/x86_emulate.h index 2847d67abfd2..574cca70b22e 100644 --- a/drivers/kvm/x86_emulate.h +++ b/drivers/kvm/x86_emulate.h | |||
@@ -152,12 +152,4 @@ struct x86_emulate_ctxt { | |||
152 | int x86_emulate_memop(struct x86_emulate_ctxt *ctxt, | 152 | int x86_emulate_memop(struct x86_emulate_ctxt *ctxt, |
153 | struct x86_emulate_ops *ops); | 153 | struct x86_emulate_ops *ops); |
154 | 154 | ||
155 | /* | ||
156 | * Given the 'reg' portion of a ModRM byte, and a register block, return a | ||
157 | * pointer into the block that addresses the relevant register. | ||
158 | * @highbyte_regs specifies whether to decode AH,CH,DH,BH. | ||
159 | */ | ||
160 | void *decode_register(u8 modrm_reg, unsigned long *regs, | ||
161 | int highbyte_regs); | ||
162 | |||
163 | #endif /* __X86_EMULATE_H__ */ | 155 | #endif /* __X86_EMULATE_H__ */ |