diff options
author | Benjamin Berg <benjamin.berg@intel.com> | 2024-01-23 20:08:18 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-01-26 09:48:54 +0100 |
commit | 22d9987c79cb8d1d04625cde5f63fc01abae2b6a (patch) | |
tree | 0df0c0975f0778aa08720d30308857b056f3d73c /drivers/watchdog/wd501p.h | |
parent | 77b8b078440eb136efd03427404134e1d88dca50 (diff) |
wifi: iwlwifi: skip affinity setting on non-SMP
Without SMP the function is just a stub that returns an error code. Add
a compile time check for CONFIG_SMP in the interest of not logging an
error if setting affinity is not possible anyway.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240123200528.ed9094390731.Ic4e5e019c01fd4231b99cf4919af5d19d6353869@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/watchdog/wd501p.h')
0 files changed, 0 insertions, 0 deletions