projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccde70f
)
xarray: don't use "proxy" headers
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Tue, 23 Apr 2024 14:20:25 +0000
(17:20 +0300)
committer
Andrew Morton
<akpm@linux-foundation.org>
Mon, 6 May 2024 00:53:44 +0000
(17:53 -0700)
Update header inclusions to follow IWYU (Include What You Use)
principle.
Link:
https://lkml.kernel.org/r/20240423142204.2408923-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/xarray.h
patch
|
blob
|
history
diff --git
a/include/linux/xarray.h
b/include/linux/xarray.h
index d54a1e98b0ca74e6ed63be1aa12adfa3fe32869f..d2e4d36246890c237e33a2a674ae8f1be9484f6e 100644
(file)
--- a/
include/linux/xarray.h
+++ b/
include/linux/xarray.h
@@
-12,14
+12,18
@@
#include <linux/bitmap.h>
#include <linux/bug.h>
#include <linux/compiler.h>
+#include <linux/err.h>
#include <linux/gfp.h>
#include <linux/kconfig.h>
-#include <linux/kernel.h>
+#include <linux/limits.h>
+#include <linux/lockdep.h>
#include <linux/rcupdate.h>
#include <linux/sched/mm.h>
#include <linux/spinlock.h>
#include <linux/types.h>
+struct list_lru;
+
/*
* The bottom two bits of the entry determine how the XArray interprets
* the contents: