Commit 0122f562 authored by Borislav Petkov's avatar Borislav Petkov Committed by Aichun Shi
Browse files

platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency

mainline inclusion
from mainline-v5.19-rc1
commit badb81a5
category: feature
feature: Intel In Filed Scan(IFS)
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I651S7
CVE: N/A
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/


commit/?id=badb81a5

Intel-SIG: commit badb81a5 ("platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency")

-------------------------------------

platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency

The driver is using functions from a compilation unit which is enabled
by CONFIG_CPU_SUP_INTEL. Add that dependency to Kconfig explicitly
otherwise:

  drivers/platform/x86/intel/ifs/load.o: in function `ifs_load_firmware':
  load.c:(.text+0x3b8): undefined reference to `intel_cpu_collect_info'

Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/YoZay8YR0zRGyVu+@zn.tnic


Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent fda2db98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment