Skip to contentSkip to conversation

radix-tree-replace-kernelh-with-the-necessary-inclusions.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: include/linux/radix-tree.h: replace kernel.h with the necessary inclusions
has been removed from the -mm tree. Its filename was
radix-tree-replace-kernelh-with-the-necessary-inclusions.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Andy Shevchenko <[email protected]>
Subject: include/linux/radix-tree.h: replace kernel.h with the necessary inclusions

When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.

Replace kernel.h inclusion with the list of what is really being used.

---

 include/linux/radix-tree.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/linux/radix-tree.h renamed from include/linux/radix-tree.h~radix-tree-replace-kernelh-with-the-necessary-inclusions +3 -1
@@ -9,8 +9,10 @@
 #define _LINUX_RADIX_TREE_H
 
 #include <linux/bitops.h>
-#include <linux/kernel.h>
+#include <linux/gfp.h>
 #include <linux/list.h>
+#include <linux/lockdep.h>
+#include <linux/math.h>
 #include <linux/percpu.h>
 #include <linux/preempt.h>
 #include <linux/rcupdate.h>

_

Patches currently in -mm which might be from [email protected] are