[tip: x86/asm] x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time
From: tip-bot2 for Anuradha Weeraman
Date: Tue Jan 03 2023 - 05:31:25 EST
The following commit has been merged into the x86/asm branch of tip:
Commit-ID: 4651b9438b69ffa771c6e94020920a026ba86e98
Gitweb: https://git.kernel.org/tip/4651b9438b69ffa771c6e94020920a026ba86e98
Author: Anuradha Weeraman <anuradha@xxxxxxxxxx>
AuthorDate: Tue, 03 Jan 2023 09:16:34 +05:30
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Tue, 03 Jan 2023 11:11:03 +01:00
x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time
Signed-off-by: Anuradha Weeraman <anuradha@xxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20230103034637.74679-1-anuradha@xxxxxxxxxx
---
arch/x86/lib/misc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/lib/misc.c b/arch/x86/lib/misc.c
index a018ec4..92cd8ec 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.
*