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] Fix 32pae build: ld -> PRI64.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix 32pae build: ld -> PRI64.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Sep 2008 08:00:13 -0700
Delivery-date: Tue, 30 Sep 2008 08:00: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 1222617194 -3600
# Node ID 6871f484430c18f0b521712d182f4d68fbb59874
# Parent  b5f20f7ac2b306c35e578ee1fdd8070b7515286f
Fix 32pae build: ld -> PRI64.

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 xen/drivers/cpufreq/cpufreq.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff -r b5f20f7ac2b3 -r 6871f484430c xen/drivers/cpufreq/cpufreq.c
--- a/xen/drivers/cpufreq/cpufreq.c     Fri Sep 26 17:12:56 2008 +0100
+++ b/xen/drivers/cpufreq/cpufreq.c     Sun Sep 28 16:53:14 2008 +0100
@@ -190,7 +190,9 @@ static void print_PSS(struct xen_process
     int i;
     printk(KERN_INFO "\t_PSS:\n");
     for (i=0; i<count; i++){
-        printk(KERN_INFO "\tState%d: %ldMHz %ldmW %ldus %ldus 0x%lx 0x%lx\n",i,
+        printk(KERN_INFO "\tState%d: %"PRId64"MHz %"PRId64"mW %"PRId64"us "
+               "%"PRId64"us 0x%"PRIx64" 0x%"PRIx64"\n",
+                i,
                 ptr[i].core_frequency,
                 ptr[i].power, 
                 ptr[i].transition_latency,
@@ -203,7 +205,8 @@ static void print_PSS(struct xen_process
 
 static void print_PSD( struct xen_psd_package *ptr)
 {
-    printk(KERN_INFO "\t_PSD: num_entries=%ld rev=%ld domain=%ld 
coord_type=%ld num_processors=%ld\n",
+    printk(KERN_INFO "\t_PSD: num_entries=%"PRId64" rev=%"PRId64
+           " domain=%"PRId64" coord_type=%"PRId64" num_processors=%"PRId64"\n",
             ptr->num_entries, ptr->revision, ptr->domain, ptr->coord_type, 
             ptr->num_processors);
 }

_______________________________________________
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] Fix 32pae build: ld -> PRI64., Xen patchbot-unstable <=