summaryrefslogtreecommitdiffstats
path: root/include/linux/delayacct.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-01 11:58:42 +0100
committerIngo Molnar <mingo@kernel.org>2017-02-07 10:57:47 +0100
commit4025819d328cd0efc53ee22e01b800631944b7f3 (patch)
treedff61802ef9616b305b4986655ffcb5264a4aba9 /include/linux/delayacct.h
parentd1ccc66df8bfe30ee2533ceef40633d65154b43d (diff)
downloadlinux-4025819d328cd0efc53ee22e01b800631944b7f3.tar.gz
linux-4025819d328cd0efc53ee22e01b800631944b7f3.tar.bz2
linux-4025819d328cd0efc53ee22e01b800631944b7f3.zip
delayacct: Include <uapi/linux/taskstats.h>
include/linux/delayacct.h relies on 'struct taskstats' but does not include the header that defines it. This worked so far because files that included <linux/taskstats.h> also happened to include other headers that included uapi/linux/taskstats.h. Fix it. Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/delayacct.h')
-rw-r--r--include/linux/delayacct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/delayacct.h b/include/linux/delayacct.h
index 6cee17c22313..00e60f79a9cc 100644
--- a/include/linux/delayacct.h
+++ b/include/linux/delayacct.h
@@ -17,6 +17,7 @@
#ifndef _LINUX_DELAYACCT_H
#define _LINUX_DELAYACCT_H
+#include <uapi/linux/taskstats.h>
#include <linux/sched.h>
#include <linux/slab.h>