ia64/xen-unstable

changeset 18559:6871f484430c

Fix 32pae build: ld -> PRI64.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sun Sep 28 16:53:14 2008 +0100 (2008-09-28)
parents b5f20f7ac2b3
children 2e7f5c177495
files xen/drivers/cpufreq/cpufreq.c
line diff
     1.1 --- a/xen/drivers/cpufreq/cpufreq.c	Fri Sep 26 17:12:56 2008 +0100
     1.2 +++ b/xen/drivers/cpufreq/cpufreq.c	Sun Sep 28 16:53:14 2008 +0100
     1.3 @@ -190,7 +190,9 @@ static void print_PSS(struct xen_process
     1.4      int i;
     1.5      printk(KERN_INFO "\t_PSS:\n");
     1.6      for (i=0; i<count; i++){
     1.7 -        printk(KERN_INFO "\tState%d: %ldMHz %ldmW %ldus %ldus 0x%lx 0x%lx\n",i,
     1.8 +        printk(KERN_INFO "\tState%d: %"PRId64"MHz %"PRId64"mW %"PRId64"us "
     1.9 +               "%"PRId64"us 0x%"PRIx64" 0x%"PRIx64"\n",
    1.10 +                i,
    1.11                  ptr[i].core_frequency,
    1.12                  ptr[i].power, 
    1.13                  ptr[i].transition_latency,
    1.14 @@ -203,7 +205,8 @@ static void print_PSS(struct xen_process
    1.15  
    1.16  static void print_PSD( struct xen_psd_package *ptr)
    1.17  {
    1.18 -    printk(KERN_INFO "\t_PSD: num_entries=%ld rev=%ld domain=%ld coord_type=%ld num_processors=%ld\n",
    1.19 +    printk(KERN_INFO "\t_PSD: num_entries=%"PRId64" rev=%"PRId64
    1.20 +           " domain=%"PRId64" coord_type=%"PRId64" num_processors=%"PRId64"\n",
    1.21              ptr->num_entries, ptr->revision, ptr->domain, ptr->coord_type, 
    1.22              ptr->num_processors);
    1.23  }