timekeeping: Kill percpu.h dependency
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 2 Dec 2022 19:39:55 +0000 (14:39 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 21 Dec 2023 00:26:30 +0000 (19:26 -0500)
Slimming down recursive header includes.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Thomas Gleixner <tglx@linutronix.de>
include/linux/hrtimer.h
include/linux/time_namespace.h

index f2044d5a652b5c6eed1652f2a7f1c23050d854a6..02d264ca9dce4752d3ab24cd4d63f4b09c56ffea 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/rbtree.h>
 #include <linux/init.h>
 #include <linux/list.h>
-#include <linux/percpu.h>
+#include <linux/percpu-defs.h>
 #include <linux/seqlock.h>
 #include <linux/timer.h>
 #include <linux/timerqueue.h>
index 5258d81cef179ccc2ca0a61fc821985868909082..876e31b4461d0ee01fe2bd3d136acdea2611789f 100644 (file)
@@ -12,6 +12,8 @@
 struct user_namespace;
 extern struct user_namespace init_user_ns;
 
+struct vm_area_struct;
+
 struct timens_offsets {
        struct timespec64 monotonic;
        struct timespec64 boottime;