summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnuradha Weeraman <anuradha@debian.org>2023-01-03 04:46:34 +0100
committerIngo Molnar <mingo@kernel.org>2023-01-03 11:11:03 +0100
commit4651b9438b69ffa771c6e94020920a026ba86e98 (patch)
tree8a79b15bc96a188307b4360b9ac5f2c7b63a07b6 /arch
parentMerge tag 'for-6.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-4651b9438b69ffa771c6e94020920a026ba86e98.tar.xz
linux-4651b9438b69ffa771c6e94020920a026ba86e98.zip
x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time
Signed-off-by: Anuradha Weeraman <anuradha@debian.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20230103034637.74679-1-anuradha@debian.org
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/lib/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/misc.c b/arch/x86/lib/misc.c
index a018ec4fba53..92cd8ecc3a2c 100644
--- a/arch/x86/lib/misc.c
+++ b/arch/x86/lib/misc.c
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+#include <asm/misc.h>
+
/*
* Count the digits of @val including a possible sign.
*