summaryrefslogtreecommitdiff
path: root/drivers/scsi/atp870u.h
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2007-08-23 13:18:02 (GMT)
committerIngo Molnar <mingo@elte.hu>2007-08-23 13:18:02 (GMT)
commitefe567fc8281661524ffa75477a7c4ca9b466c63 (patch)
treed545f25d113646491e75bd09b521dfa6db5f0276 /drivers/scsi/atp870u.h
parentc57baf1e1e24b004b57d282267542baab802753c (diff)
downloadlinux-fsl-qoriq-efe567fc8281661524ffa75477a7c4ca9b466c63.tar.xz
sched: accounting regression since rc1
Fix the accounting regression for CONFIG_VIRT_CPU_ACCOUNTING. It reverts parts of commit b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa by converting fs/proc/array.c back to cputime_t. The new functions task_utime and task_stime now return cputime_t instead of clock_t. If CONFIG_VIRT_CPU_ACCOUTING is set, task->utime and task->stime are returned directly instead of using sum_exec_runtime. Patch is tested on s390x with and without VIRT_CPU_ACCOUTING as well as on i386. [ mingo@elte.hu: cleanups, comments. ] Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/atp870u.h')
0 files changed, 0 insertions, 0 deletions