WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86_32: Fix build after e820 verbosity pr

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86_32: Fix build after e820 verbosity printks.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Apr 2009 09:20:13 -0700
Delivery-date: Wed, 29 Apr 2009 09:20:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86_32: Fix build after e820 verbosity printks., Xen patchbot-unstable <=