[PATCH v1 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Wed Dec 22 10:25:42 PST 2021
On Wed, Dec 22, 2021 at 06:09:22PM +0000, Marc Zyngier wrote:
> On Wed, 22 Dec 2021 16:55:52 +0000,
> Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:
> >
> > When kernel.h is used in the headers it adds a lot into dependency hell,
> > especially when there are circular dependencies are involved.
>
> Which circular dependencies? What problem are you solving?
In particular moving bitmap_*alloc() APIs to the headers.
But this may be a side effect of what I realized during the attempts
of solving that issue. In any case there is no need to take entire
mess of kernel.h in another header.
--
With Best Regards,
Andy Shevchenko
More information about the linux-arm-kernel
mailing list