From: Hidetoshi Seto Date: Wed, 2 Dec 2009 08:26:47 +0000 (+0900) Subject: sched, cputime: Cleanups related to task_times() X-Git-Tag: v2.6.33-rc1~398^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d99ca3b977fc5a93141304f571475c2af9e6c1c5;p=pandora-kernel.git sched, cputime: Cleanups related to task_times() - Remove if({u,s}t)s because no one call it with NULL now. - Use cputime_{add,sub}(). - Add ifndef-endif for prev_{u,s}time since they are used only when !VIRT_CPU_ACCOUNTING. Signed-off-by: Hidetoshi Seto Cc: Peter Zijlstra Cc: Spencer Candland Cc: Americo Wang Cc: Oleg Nesterov Cc: Balbir Singh Cc: Stanislaw Gruszka LKML-Reference: <4B1624C7.7040302@jp.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed