Re: [PATCH 5/7] genirq/affinity: move group_cpus_evenly() into lib/

From: Christoph Hellwig
Date: Tue Aug 17 2021 - 00:52:24 EST


On Mon, Aug 16, 2021 at 09:04:21AM +0800, Ming Lei wrote:
> But the above symbol is exported via EXPORT_SYMBOL_GPL(), in current
> kernel tree, we usually keep such exported symbol as global, or is there
> some change in kernel coding style recently?

This is about prototypes. You need to include group_cpus.h in
group_cpus.c so that the prototype is visible at the implementation site.