ia64/xen-unstable

changeset 11644:7c5ea4f50bd9

[HVM] Fix stupid printf formatting error that breaks x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Sep 27 13:54:04 2006 +0100 (2006-09-27)
parents 5ab400346b13
children 79a4a00c4e15
files xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Wed Sep 27 10:17:03 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Wed Sep 27 13:54:04 2006 +0100
     1.3 @@ -342,7 +342,7 @@ static inline int long_mode_do_msr_write
     1.4          /* offending reserved bit will cause #GP */
     1.5          if ( msr_content & ~(EFER_LME | EFER_LMA | EFER_NX | EFER_SCE) )
     1.6          {
     1.7 -            printk("Trying to set reserved bit in EFER: %016llx\n",
     1.8 +            printk("Trying to set reserved bit in EFER: %"PRIx64"\n",
     1.9                     msr_content);
    1.10              svm_inject_exception(vc, TRAP_gp_fault, 1, 0);
    1.11              return 0;
     2.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Wed Sep 27 10:17:03 2006 +0100
     2.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Wed Sep 27 13:54:04 2006 +0100
     2.3 @@ -290,7 +290,7 @@ static inline int long_mode_do_msr_write
     2.4          /* offending reserved bit will cause #GP */
     2.5          if ( msr_content & ~(EFER_LME | EFER_LMA | EFER_NX | EFER_SCE) )
     2.6          {
     2.7 -            printk("Trying to set reserved bit in EFER: %016llx\n",
     2.8 +            printk("Trying to set reserved bit in EFER: %"PRIx64"\n",
     2.9                     msr_content);
    2.10              vmx_inject_hw_exception(v, TRAP_gp_fault, 0);
    2.11              return 0;