aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnuradha Weeraman <[email protected]>2023-01-03 09:16:34 +0530
committerIngo Molnar <[email protected]>2023-01-03 11:11:03 +0100
commit4651b9438b69ffa771c6e94020920a026ba86e98 (patch)
tree8a79b15bc96a188307b4360b9ac5f2c7b63a07b6
parent69b41ac87e4a664de78a395ff97166f0b2943210 (diff)
x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time
Signed-off-by: Anuradha Weeraman <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-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.
*