aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 7a76ad570230..0b615d62a159 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -52,7 +52,6 @@
52 * : base.c too. 52 * : base.c too.
53 */ 53 */
54 54
55#include <linux/config.h>
56#include <linux/types.h> 55#include <linux/types.h>
57#include <linux/errno.h> 56#include <linux/errno.h>
58#include <linux/time.h> 57#include <linux/time.h>
@@ -75,6 +74,7 @@
75#include <linux/times.h> 74#include <linux/times.h>
76#include <linux/cpuset.h> 75#include <linux/cpuset.h>
77#include <linux/rcupdate.h> 76#include <linux/rcupdate.h>
77#include <linux/delayacct.h>
78 78
79#include <asm/uaccess.h> 79#include <asm/uaccess.h>
80#include <asm/pgtable.h> 80#include <asm/pgtable.h>
@@ -412,7 +412,7 @@ static int do_task_stat(struct task_struct *task, char * buffer, int whole)
412 412
413 res = sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ 413 res = sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \
414%lu %lu %lu %lu %lu %ld %ld %ld %ld %d 0 %llu %lu %ld %lu %lu %lu %lu %lu \ 414%lu %lu %lu %lu %lu %ld %ld %ld %ld %d 0 %llu %lu %ld %lu %lu %lu %lu %lu \
415%lu %lu %lu %lu %lu %lu %lu %lu %d %d %lu %lu\n", 415%lu %lu %lu %lu %lu %lu %lu %lu %d %d %lu %lu %llu\n",
416 task->pid, 416 task->pid,
417 tcomm, 417 tcomm,
418 state, 418 state,
@@ -456,7 +456,8 @@ static int do_task_stat(struct task_struct *task, char * buffer, int whole)
456 task->exit_signal, 456 task->exit_signal,
457 task_cpu(task), 457 task_cpu(task),
458 task->rt_priority, 458 task->rt_priority,
459 task->policy); 459 task->policy,
460 (unsigned long long)delayacct_blkio_ticks(task));
460 if(mm) 461 if(mm)
461 mmput(mm); 462 mmput(mm);
462 return res; 463 return res;