* [merged mm-nonmm-stable] rbtree-replace-kernelh-with-the-necessary-inclusions.patch removed from -mm tree
@ 2022-06-17 2:58 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-06-17 2:58 UTC (permalink / raw)
To: mm-commits, willy, andriy.shevchenko, akpm
The quilt patch titled
Subject: include/linux/rbtree.h: replace kernel.h with the necessary inclusions
has been removed from the -mm tree. Its filename was
rbtree-replace-kernelh-with-the-necessary-inclusions.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: include/linux/rbtree.h: replace kernel.h with the necessary inclusions
Date: Fri, 3 Jun 2022 20:10:12 +0300
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.
Link: https://lkml.kernel.org/r/20220603171012.48880-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/rbtree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/rbtree.h~rbtree-replace-kernelh-with-the-necessary-inclusions
+++ a/include/linux/rbtree.h
@@ -17,9 +17,9 @@
#ifndef _LINUX_RBTREE_H
#define _LINUX_RBTREE_H
+#include <linux/container_of.h>
#include <linux/rbtree_types.h>
-#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/rcupdate.h>
_
Patches currently in -mm which might be from andriy.shevchenko@linux.intel.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-17 2:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 2:58 [merged mm-nonmm-stable] rbtree-replace-kernelh-with-the-necessary-inclusions.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.