]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/rbtree.h: replace kernel.h with the necessary inclusions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 Jun 2022 17:10:12 +0000 (20:10 +0300)
committerakpm <akpm@linux-foundation.org>
Fri, 17 Jun 2022 02:58:20 +0000 (19:58 -0700)
commitb2a851b4dbb0fde09ed230a1db7e45e6abe5aeb7
tree3e0fa4b8f8004bb0dce5a3ec25132296936312d5
parent639cd2e716b8d207e900c861559d2ff236e3637f
include/linux/rbtree.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.

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