]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
delayacct: Include <uapi/linux/taskstats.h>
authorIngo Molnar <mingo@kernel.org>
Wed, 1 Feb 2017 10:58:42 +0000 (11:58 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Feb 2017 09:57:47 +0000 (10:57 +0100)
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>
include/linux/delayacct.h

index 6cee17c2231384cdaaad3fac1792cc9ca6e798b7..00e60f79a9cc7e44df22093fa0550d26fbf2d7e9 100644 (file)
@@ -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>