diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2022-02-22 19:57:38 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-02-23 18:25:58 +0100 |
commit | 6198311093dabcafbe345d580c56b5d5a9ab5f3c (patch) | |
tree | e20f0bb5fc296a33258d4c33ab7c42ad6f6fdf61 /arch/x86/Kbuild | |
parent | Linux 5.17-rc5 (diff) | |
download | linux-6198311093dabcafbe345d580c56b5d5a9ab5f3c.tar.xz linux-6198311093dabcafbe345d580c56b5d5a9ab5f3c.zip |
x86/cc: Move arch/x86/{kernel/cc_platform.c => coco/core.c}
Move cc_platform.c to arch/x86/coco/. The directory is going to be the
home space for code related to confidential computing.
Intel TDX code will land here. AMD SEV code will also eventually be
moved there.
No functional changes.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20220222185740.26228-3-kirill.shutemov@linux.intel.com
Diffstat (limited to 'arch/x86/Kbuild')
-rw-r--r-- | arch/x86/Kbuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/Kbuild b/arch/x86/Kbuild index f384cb1a4f7a..5a83da703e87 100644 --- a/arch/x86/Kbuild +++ b/arch/x86/Kbuild @@ -1,4 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_ARCH_HAS_CC_PLATFORM) += coco/ + obj-y += entry/ obj-$(CONFIG_PERF_EVENTS) += events/ |