Merge commit 'v3.2-rc5' into sched/core
authorIngo Molnar <mingo@elte.hu>
Thu, 15 Dec 2011 07:21:21 +0000 (08:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Dec 2011 07:21:30 +0000 (08:21 +0100)
Merge reason: Pick up the latest fixes.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
1  2 
fs/proc/stat.c
include/linux/sched.h

diff --cc fs/proc/stat.c
index 8a6ab666e9f8bc27ffd64b1371a33e8c355fe6c5,2a30d67dd6b81ea03c71b3bdea4fa50913a09ae4..2527a68057fcd7ccda132ba7c0b408e64e074baa
@@@ -28,10 -29,10 +28,10 @@@ static u64 get_idle_time(int cpu
  
        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 = kcpustat_cpu(cpu).cpustat[CPUTIME_IDLE];
 +              idle += arch_idle_time(cpu);
        } else
-               idle = usecs_to_cputime(idle_time);
+               idle = nsecs_to_jiffies64(1000 * idle_time);
  
        return idle;
  }
@@@ -42,9 -44,9 +42,9 @@@ static u64 get_iowait_time(int cpu
  
        if (iowait_time == -1ULL)
                /* !NO_HZ so we can rely on cpustat.iowait */
 -              iowait = kstat_cpu(cpu).cpustat.iowait;
 +              iowait = kcpustat_cpu(cpu).cpustat[CPUTIME_IOWAIT];
        else
-               iowait = usecs_to_cputime(iowait_time);
+               iowait = nsecs_to_jiffies64(1000 * iowait_time);
  
        return iowait;
  }
Simple merge