]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
xarray: don't use "proxy" headers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Apr 2024 14:20:25 +0000 (17:20 +0300)
committerAndrew 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

index d54a1e98b0ca74e6ed63be1aa12adfa3fe32869f..d2e4d36246890c237e33a2a674ae8f1be9484f6e 100644 (file)
 #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: