diff options
author | Borislav Petkov <bp@suse.de> | 2021-06-02 12:07:52 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-06-03 16:32:59 +0200 |
commit | 74b2fc882d380d8fafc2a26f01d401c2a7beeadb (patch) | |
tree | e8f413545139a94384149fe4414710ca68396adc /arch | |
parent | 9a90ed065a155d13db0d0ffeaad5cc54e51c90c6 (diff) |
dmaengine: idxd: Use cpu_feature_enabled()
When testing x86 feature bits, use cpu_feature_enabled() so that
build-disabled features can remain off, regardless of what CPUID says.
Fixes: 8e50d392652f ("dmaengine: idxd: Add shared workqueue support")
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-By: Vinod Koul <vkoul@kernel.org>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions