ia64/xen-unstable

changeset 19585:cc6db34c2996

x86_32: Fix build after e820 verbosity printks.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Apr 29 13:54:57 2009 +0100 (2009-04-29)
parents 86f659545f17
children 54dbd70406ad
files xen/arch/x86/e820.c
line diff
     1.1 --- a/xen/arch/x86/e820.c	Wed Apr 29 11:53:23 2009 +0100
     1.2 +++ b/xen/arch/x86/e820.c	Wed Apr 29 13:54:57 2009 +0100
     1.3 @@ -409,7 +409,7 @@ static uint64_t mtrr_top_of_ram(void)
     1.4      rdmsrl(MSR_MTRRdefType, mtrr_def);
     1.5  
     1.6      if ( e820_verbose )
     1.7 -        printk(" MTRR cap: %lx type: %lx\n", mtrr_cap, mtrr_def);
     1.8 +        printk(" MTRR cap: %"PRIx64" type: %"PRIx64"\n", mtrr_cap, mtrr_def);
     1.9  
    1.10      /* MTRRs enabled, and default memory type is not writeback? */
    1.11      if ( !test_bit(11, &mtrr_def) || ((uint8_t)mtrr_def == MTRR_TYPE_WRBACK) )
    1.12 @@ -426,7 +426,8 @@ static uint64_t mtrr_top_of_ram(void)
    1.13          rdmsrl(MSR_MTRRphysMask(i), mask);
    1.14  
    1.15          if ( e820_verbose )
    1.16 -            printk(" MTRR[%d]: base %lx mask %lx\n", i, base, mask);
    1.17 +            printk(" MTRR[%d]: base %"PRIx64" mask %"PRIx64"\n",
    1.18 +                   i, base, mask);
    1.19  
    1.20          if ( !test_bit(11, &mask) || ((uint8_t)base != MTRR_TYPE_WRBACK) )
    1.21              continue;