aboutsummaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorGravatar Geert Uytterhoeven <geert+renesas@glider.be> 2024-03-01 22:02:25 +0100
committerGravatar John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> 2024-05-02 12:01:24 +0200
commit74feee2c562149df7e043ead148e0b6559c12917 (patch)
tree0badf260616de0b0e87dd371205a1d09aa606417 /arch/sh
parentsh: nommu: Add missing #include <asm/cacheflush.h> (diff)
downloadlinux-74feee2c562149df7e043ead148e0b6559c12917.tar.gz
linux-74feee2c562149df7e043ead148e0b6559c12917.tar.bz2
linux-74feee2c562149df7e043ead148e0b6559c12917.zip
sh: math-emu: Add missing #include <asm/fpu.h>
arch/sh/math-emu/math.c:492:5: warning: no previous prototype for 'do_fpu_inst' [-Wmissing-prototypes] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Link: https://lore.kernel.org/r/cfda1ba2eadb75e2793e67d43df42fe4c04e4fcf.1709326528.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/math-emu/math.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/math-emu/math.c b/arch/sh/math-emu/math.c
index cdaef6501d76..b65703e06573 100644
--- a/arch/sh/math-emu/math.c
+++ b/arch/sh/math-emu/math.c
@@ -15,6 +15,8 @@
#include <linux/perf_event.h>
#include <linux/uaccess.h>
+
+#include <asm/fpu.h>
#include <asm/processor.h>
#include <asm/io.h>