[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240311132306.3420135-9-max.kellermann@ionos.com>
Date: Mon, 11 Mar 2024 14:23:04 +0100
From: Max Kellermann <max.kellermann@...os.com>
To: richard.henderson@...aro.org,
ink@...assic.park.msu.ru,
mattst88@...il.com,
linux-alpha@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Max Kellermann <max.kellermann@...os.com>
Subject: [PATCH 09/11] arch/alpha/fpreg: add missing includes to fix -Wmissing-prototypes
Fixes:
arch/alpha/lib/fpreg.c:20:1: error: no previous prototype for 'alpha_read_fp_reg' [-Werror=missing-prototypes]
20 | alpha_read_fp_reg (unsigned long reg)
| ^~~~~~~~~~~~~~~~~
[...]
Signed-off-by: Max Kellermann <max.kellermann@...os.com>
---
arch/alpha/lib/fpreg.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/alpha/lib/fpreg.c b/arch/alpha/lib/fpreg.c
index 7c08b225261c..88e912689140 100644
--- a/arch/alpha/lib/fpreg.c
+++ b/arch/alpha/lib/fpreg.c
@@ -5,9 +5,12 @@
* (C) Copyright 1998 Linus Torvalds
*/
+#include "../kernel/proto.h"
+
#include <linux/compiler.h>
#include <linux/export.h>
#include <linux/preempt.h>
+#include <asm/fpu.h>
#include <asm/thread_info.h>
#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67)
--
2.39.2
Powered by blists - more mailing lists