Skip to content

Commit 6060ef3

Browse files
author
Kent Overstreet
committed
timekeeping: Kill percpu.h dependency
Slimming down recursive header includes. Signed-off-by: Kent Overstreet <[email protected]> Cc: Thomas Gleixner <[email protected]>
1 parent d9f29de commit 6060ef3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/linux/hrtimer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <linux/rbtree.h>
1717
#include <linux/init.h>
1818
#include <linux/list.h>
19-
#include <linux/percpu.h>
19+
#include <linux/percpu-defs.h>
2020
#include <linux/seqlock.h>
2121
#include <linux/timer.h>
2222
#include <linux/timerqueue.h>

include/linux/time_namespace.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
struct user_namespace;
1313
extern struct user_namespace init_user_ns;
1414

15+
struct vm_area_struct;
16+
1517
struct timens_offsets {
1618
struct timespec64 monotonic;
1719
struct timespec64 boottime;

0 commit comments

Comments
 (0)