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.