]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'cputime/cputime'
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 02:18:57 +0000 (13:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 02:18:57 +0000 (13:18 +1100)
1  2 
drivers/cpufreq/cpufreq_ondemand.c
fs/proc/stat.c
include/linux/sched.h
kernel/fork.c
kernel/sched.c

Simple merge
diff --cc fs/proc/stat.c
index 2a30d67dd6b81ea03c71b3bdea4fa50913a09ae4,762961f7c335db1d300785db80b9b85e8baf9206..714d5d131e76e3048e6353f284dc080ce5b34c23
@@@ -30,9 -30,9 +30,9 @@@ static cputime64_t get_idle_time(int cp
        if (idle_time == -1ULL) {
                /* !NO_HZ so we can rely on cpustat.idle */
                idle = kstat_cpu(cpu).cpustat.idle;
-               idle = cputime64_add(idle, arch_idle_time(cpu));
+               idle += arch_idle_time(cpu);
        } else
 -              idle = usecs_to_cputime(idle_time);
 +              idle = nsecs_to_jiffies64(1000 * idle_time);
  
        return idle;
  }
Simple merge
diff --cc kernel/fork.c
Simple merge
diff --cc kernel/sched.c
Simple merge