HomeFreeBSD

MFC r366568:

Description

MFC r366568:

Fix EINVAL message when CPU binding information is requested for IRQ.

`cpuset -g -x N` along with requested information always prints
message `cpuset: getdomain: Invalid argument'. The EINVAL is returned
from kern_cpuset_getdomain(), since it doesn't expect CPU_LEVEL_WHICH
and CPU_WHICH_IRQ parameters.

To fix the error, do not call cpuset_getdomain() when `-x' is specified.

Details

Provenance
aeAuthored on
Parents
rS366746: MFC r366140: aw_pwm: fix programming of the period
Branches
Unknown
Tags
Unknown