summaryrefslogtreecommitdiff
path: root/arch/alpha/math-emu
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-01-25 17:22:01 +0300
committerArnd Bergmann <arnd@arndb.de>2024-05-03 23:09:30 +0300
commit6e8d0237857c6d434de9475aed8cee842b204bd7 (patch)
tree11cc8ce0cc94e9ddcdc4921ce7561c9cccb24550 /arch/alpha/math-emu
parent0ec60e28711fc23afd3a64e9a402d08fb83188c3 (diff)
downloadlinux-6e8d0237857c6d434de9475aed8cee842b204bd7.tar.xz
alpha: missing includes
... and missing externs in proto.h Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/alpha/math-emu')
-rw-r--r--arch/alpha/math-emu/math.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/alpha/math-emu/math.c b/arch/alpha/math-emu/math.c
index 4212258f3cfd..68d420bfd3c0 100644
--- a/arch/alpha/math-emu/math.c
+++ b/arch/alpha/math-emu/math.c
@@ -4,6 +4,7 @@
#include <linux/kernel.h>
#include <linux/sched.h>
#include <asm/ptrace.h>
+#include <asm/fpu.h>
#include <linux/uaccess.h>
@@ -45,12 +46,6 @@
#define MISC_TRAPB 0x0000
#define MISC_EXCB 0x0400
-extern unsigned long alpha_read_fp_reg (unsigned long reg);
-extern void alpha_write_fp_reg (unsigned long reg, unsigned long val);
-extern unsigned long alpha_read_fp_reg_s (unsigned long reg);
-extern void alpha_write_fp_reg_s (unsigned long reg, unsigned long val);
-
-
#ifdef MODULE
MODULE_DESCRIPTION("FP Software completion module");