From: Andy Shevchenko Date: Tue, 9 Nov 2021 02:32:41 +0000 (-0800) Subject: include/linux/generic-radix-tree.h: replace kernel.h with the necessary inclusions X-Git-Tag: v6.1-rc5~2692^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4b87651104dd32ab258d097d47b97e243a95222;p=platform%2Fkernel%2Flinux-starfive.git include/linux/generic-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. [akpm@linux-foundation.org: include math.h for round_up()] Link: https://lkml.kernel.org/r/20211027150548.80042-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/generic-radix-tree.h b/include/linux/generic-radix-tree.h index bfd0032..107613f 100644 --- a/include/linux/generic-radix-tree.h +++ b/include/linux/generic-radix-tree.h @@ -38,8 +38,9 @@ #include #include -#include #include +#include +#include struct genradix_root;