aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/posix-timers.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-08-19 16:31:42 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-08-20 22:09:52 +0200
commitce03f613461642669d6150c405dd28f4bfd54bbb (patch)
tree1d5dadd9350b7dfc3f7fab6709c58b4e7065b028 /include/linux/posix-timers.h
parenthrtimer: Improve comments on handling priority inversion against softirq kthread (diff)
downloadlinux-dev-ce03f613461642669d6150c405dd28f4bfd54bbb.tar.xz
linux-dev-ce03f613461642669d6150c405dd28f4bfd54bbb.zip
posix-timers: Cleanup forward declarations and includes
- Rename struct siginfo to kernel_siginfo as that is used and required - Add a forward declaration for task_struct and remove sched.h include - Remove timex.h include as it is not needed Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lkml.kernel.org/r/20190819143801.472005793@linutronix.de
Diffstat (limited to 'include/linux/posix-timers.h')
-rw-r--r--include/linux/posix-timers.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h
index 604cec0e41ba..26c636d1485b 100644
--- a/include/linux/posix-timers.h
+++ b/include/linux/posix-timers.h
@@ -4,11 +4,10 @@
#include <linux/spinlock.h>
#include <linux/list.h>
-#include <linux/sched.h>
-#include <linux/timex.h>
#include <linux/alarmtimer.h>
-struct siginfo;
+struct kernel_siginfo;
+struct task_struct;
struct cpu_timer_list {
struct list_head entry;