[Lima] [PATCH bpf v2] treewide: add missing includes masked by cgroup -> bpf dependency

Greg KH gregkh at linuxfoundation.org
Fri Dec 3 07:11:47 UTC 2021


On Thu, Dec 02, 2021 at 12:34:00PM -0800, Jakub Kicinski wrote:
> cgroup.h (therefore swap.h, therefore half of the universe)
> includes bpf.h which in turn includes module.h and slab.h.
> Since we're about to get rid of that dependency we need
> to clean things up.
> 
> v2: drop the cpu.h include from cacheinfo.h, it's not necessary
> and it makes riscv sensitive to ordering of include files.
> 
> Link: https://lore.kernel.org/all/20211120035253.72074-1-kuba@kernel.org/  # v1
> Link: https://lore.kernel.org/all/20211120165528.197359-1-kuba@kernel.org/ # cacheinfo discussion
> Acked-by: Krzysztof Wilczyński <kw at linux.com>
> Acked-by: Peter Chen <peter.chen at kernel.org>
> Acked-by: SeongJae Park <sj at kernel.org>
> Acked-by: Jani Nikula <jani.nikula at intel.com>
> Signed-off-by: Jakub Kicinski <kuba at kernel.org>

Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>


More information about the lima mailing list