aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/mem_encrypt.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2022-04-10 23:00:25 +0300
committerBorislav Petkov <bp@suse.de>2022-04-11 09:41:12 +0200
commitadb5680b8dfdd09756f13450bfc1ed874d895935 (patch)
tree47187093b42a81de38be2b039bd0c95fcfd1bb7a /arch/x86/mm/mem_encrypt.c
parentDocumentation/x86: Document TDX kernel architecture (diff)
downloadlinux-dev-adb5680b8dfdd09756f13450bfc1ed874d895935.tar.xz
linux-dev-adb5680b8dfdd09756f13450bfc1ed874d895935.zip
x86/kaslr: Fix build warning in KASLR code in boot stub
lib/kaslr.c is used by both the main kernel and the boot stub. It includes asm/io.h which is supposed to be used in the main kernel. It leads to build warnings like this with clang 13: warning: implicit declaration of function 'outl' is invalid in C99 [-Wimplicit-function-declaration] Replace <asm/io.h> with <asm/shared/io.h> which is suitable for both cases. Fixes: 1e8f93e18379 ("x86: Consolidate port I/O helpers") Reported-by: Borislav Petkov <bp@suse.de> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220410200025.3stf4jjvwfe5oxew@box.shutemov.name
Diffstat (limited to 'arch/x86/mm/mem_encrypt.c')
0 files changed, 0 insertions, 0 deletions