Page MenuHomeFreeBSD

LinuxKPI: add cpu.h for cpumask_*()

Authored by bz on May 24 2021, 6:16 PM.



Add linux/cpu.h for cpumask_*() functions found in wireless drivers
and make sure cpu_online_mask is always initialised.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by:
Differential Revision:

Diff Detail

rG FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bz requested review of this revision.May 24 2021, 6:16 PM
This revision is now accepted and ready to land.May 24 2021, 7:27 PM

@manu this also breaks drm-kmod for "linuxkpi/dummy/include/linux/cpu.h"

In D30421#683973, @bz wrote:

@manu this also breaks drm-kmod for "linuxkpi/dummy/include/linux/cpu.h"

How does that break exactly ?

This revision was automatically updated to reflect the committed changes.