Commit c74ce46
fix undefined symbol of cc_init
This patch fixes the following error.
> arch/x86/kernel/cpu/mshyperv.c:349: undefined reference to `cc_init'
CONFIG_GUEST_HYPERVISOR compiles mshyperv.o that reference cc_init().
cc_init() requires CONFIG_ARCH_HAS_CC_PLATFORM.
"select ARCH_HAS_CC_PLATFORM" when CONFIG_GUEST_HYPERVISOR=y.
Fixes: cbb5c73599cf ("x86/coco: Add API to handle encryption mask")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>1 parent 6be482b commit c74ce46
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
| 759 | + | |
759 | 760 | | |
760 | 761 | | |
761 | 762 | | |
| |||
0 commit comments