# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1241009697 -3600
# Node ID cc6db34c29962a3a58de001b1e6f4860d1f2894c
# Parent 86f659545f171cd10fa8bfb33b52bf11416fd3eb
x86_32: Fix build after e820 verbosity printks.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/e820.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r 86f659545f17 -r cc6db34c2996 xen/arch/x86/e820.c
--- a/xen/arch/x86/e820.c Wed Apr 29 11:53:23 2009 +0100
+++ b/xen/arch/x86/e820.c Wed Apr 29 13:54:57 2009 +0100
@@ -409,7 +409,7 @@ static uint64_t mtrr_top_of_ram(void)
rdmsrl(MSR_MTRRdefType, mtrr_def);
if ( e820_verbose )
- printk(" MTRR cap: %lx type: %lx\n", mtrr_cap, mtrr_def);
+ printk(" MTRR cap: %"PRIx64" type: %"PRIx64"\n", mtrr_cap, mtrr_def);
/* MTRRs enabled, and default memory type is not writeback? */
if ( !test_bit(11, &mtrr_def) || ((uint8_t)mtrr_def == MTRR_TYPE_WRBACK) )
@@ -426,7 +426,8 @@ static uint64_t mtrr_top_of_ram(void)
rdmsrl(MSR_MTRRphysMask(i), mask);
if ( e820_verbose )
- printk(" MTRR[%d]: base %lx mask %lx\n", i, base, mask);
+ printk(" MTRR[%d]: base %"PRIx64" mask %"PRIx64"\n",
+ i, base, mask);
if ( !test_bit(11, &mask) || ((uint8_t)base != MTRR_TYPE_WRBACK) )
continue;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|