sched/accounting: Change cpustat fields to an array
authorGlauber Costa <glommer@parallels.com>
Mon, 28 Nov 2011 16:45:17 +0000 (14:45 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 08:06:38 +0000 (09:06 +0100)
This patch changes fields in cpustat from a structure, to an
u64 array. Math gets easier, and the code is more flexible.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul Tuner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1322498719-2255-2-git-send-email-glommer@parallels.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found