Commit 4025819d authored by Ingo Molnar's avatar Ingo Molnar

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: default avatarIngo Molnar <mingo@kernel.org>
parent d1ccc66d
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#ifndef _LINUX_DELAYACCT_H #ifndef _LINUX_DELAYACCT_H
#define _LINUX_DELAYACCT_H #define _LINUX_DELAYACCT_H
#include <uapi/linux/taskstats.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/slab.h> #include <linux/slab.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment