[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix 32pae build: ld -> PRI64.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.