For non-SMP kernel we have sizeof(cpuset_t) == 8 as MAXCPU == 1, but modules always built with MAXCPU >= 1 (e.g. 96 on AArch64), and so sizeof(cpuset_t) is bigger than 8 bytes.
This currently leads to kernel panic when hwpmc module proceed CPU_ZERO(&pmc_cpumask) call as it overwrites memory after pmc_cpumask.
With this patch we building modules tied to kernel as "options SMP" changes KBI
This fixes operation of HWPMC on UP.