ia64/xen-unstable

changeset 10231:254d5baba42c

[SVM] Remove redundant MAX_INST_SIZE definition.
Signed off by: Mats Petersson <mats.petersson@amd.com>
author kfraser@dhcp93.uk.xensource.com
date Wed May 31 14:23:00 2006 +0100 (2006-05-31)
parents 94947f282fa2
children 0ec4b9dfd5b4
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Wed May 31 13:26:10 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Wed May 31 14:23:00 2006 +0100
     1.3 @@ -51,9 +51,6 @@
     1.4  
     1.5  #define SVM_EXTRA_DEBUG
     1.6  
     1.7 -/* Useful define */
     1.8 -#define MAX_INST_SIZE  15
     1.9 -
    1.10  #define set_segment_register(name, value)  \
    1.11         __asm__ __volatile__ ( "movw %%ax ,%%" STR(name) "" : : "a" (value) )
    1.12  
    1.13 @@ -2155,7 +2152,7 @@ static void svm_debug_restore_cpu_user_r
    1.14  void svm_handle_invlpg(const short invlpga, struct cpu_user_regs *regs)
    1.15  {
    1.16      struct vcpu *v = current;
    1.17 -    u8 opcode[MAX_INST_SIZE], prefix, length = MAX_INST_SIZE;
    1.18 +    u8 opcode[MAX_INST_LEN], prefix, length = MAX_INST_LEN;
    1.19      unsigned long g_vaddr;
    1.20      int inst_len;
    1.21      struct vmcb_struct *vmcb = v->arch.hvm_svm.vmcb;