summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2006-09-29 10:59:40 +0200
committerLinus Torvalds2006-09-29 18:18:09 +0200
commit6c5c934153513dc72e2d6464f39e8ef1f27c0a3e (patch)
treebe799da4af646a96c2d6ab473e276a7361beb685 /include/linux/sched.h
parent[PATCH] task_struct: ifdef Missed'em V IPC (diff)
downloadkernel-qcow2-linux-6c5c934153513dc72e2d6464f39e8ef1f27c0a3e.tar.gz
kernel-qcow2-linux-6c5c934153513dc72e2d6464f39e8ef1f27c0a3e.tar.xz
kernel-qcow2-linux-6c5c934153513dc72e2d6464f39e8ef1f27c0a3e.zip
[PATCH] ifdef blktrace debugging fields
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 27122575d902..3696f2f7126d 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -784,8 +784,9 @@ struct task_struct {
struct prio_array *array;
unsigned short ioprio;
+#ifdef CONFIG_BLK_DEV_IO_TRACE
unsigned int btrace_seq;
-
+#endif
unsigned long sleep_avg;
unsigned long long timestamp, last_ran;
unsigned long long sched_time; /* sched_clock time spent running */