Fixed compilation warnings in the CKRM cpu controller.
authorMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 28 Sep 2004 16:53:02 +0000 (16:53 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 28 Sep 2004 16:53:02 +0000 (16:53 +0000)
kernel/ckrm/ckrm_cpu_class.c
kernel/ckrm/ckrm_cpu_monitor.c

index ad45380..cdb8af7 100644 (file)
@@ -269,7 +269,7 @@ int ckrm_cpu_get_stats(void *my_res, struct seq_file * sfile)
                   );
        for_each_online_cpu(i) {
                lrq = get_ckrm_lrq(cls,i);              
-               seq_printf(sfile, "\tlrq %d demand= %lu weight= %d lrq_load= %lu cvt= %llu sav=%lu\n",i,stat->local_stats[i].cpu_demand,local_class_weight(lrq),lrq->lrq_load,lrq->local_cvt,lrq->savings);
+               seq_printf(sfile, "\tlrq %d demand= %lu weight= %d lrq_load= %lu cvt= %llu sav=%llu\n",i,stat->local_stats[i].cpu_demand,local_class_weight(lrq),lrq->lrq_load,lrq->local_cvt,lrq->savings);
        }
 
        seq_printf(sfile, "-------- CPU Class Status END ---------\n");
index c83c83f..09bdb21 100644 (file)
@@ -910,7 +910,7 @@ void ckrm_start_monitor(void)
 
 void ckrm_kill_monitor(void)
 {
-       int interval = HZ;
+       // int interval = HZ;
 
        printk("killing process %d\n", cpu_monitor_pid);
        if (cpu_monitor_pid > 0) {