aboutsummaryrefslogtreecommitdiff
path: root/mm/util.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2022-04-10 23:00:25 +0300
committerBorislav Petkov <[email protected]>2022-04-11 09:41:12 +0200
commitadb5680b8dfdd09756f13450bfc1ed874d895935 (patch)
tree47187093b42a81de38be2b039bd0c95fcfd1bb7a /mm/util.c
parentb9c7ba58777acfd0892b808aea25074d46e0618f (diff)
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 <[email protected]> Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions