]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/taskstats.c
[PATCH] Export soc_common_drv_pcmcia_remove to allow modular PCMCIA.
[linux-2.6-omap-h63xx.git] / kernel / taskstats.c
index 6c38dce88e8c4e4eb60f1efad93e5628bb53281f..5d6a8c54ee85f56f9a3640480d5560ed35f2b4e5 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/taskstats_kern.h>
 #include <linux/tsacct_kern.h>
 #include <linux/delayacct.h>
+#include <linux/tsacct_kern.h>
 #include <linux/cpumask.h>
 #include <linux/percpu.h>
 #include <net/genetlink.h>
@@ -204,6 +205,9 @@ static int fill_pid(pid_t pid, struct task_struct *pidtsk,
        stats->version = TASKSTATS_VERSION;
        bacct_add_tsk(stats, tsk);
 
+       /* fill in extended acct fields */
+       xacct_add_tsk(stats, tsk);
+
        /* Define err: label here if needed */
        put_task_struct(tsk);
        return rc;