aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/kernel/fpsimd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c
index f444f374bd7b..82786b18ff26 100644
--- a/arch/arm64/kernel/fpsimd.c
+++ b/arch/arm64/kernel/fpsimd.c
@@ -21,6 +21,7 @@
21#include <linux/cpu.h> 21#include <linux/cpu.h>
22#include <linux/cpu_pm.h> 22#include <linux/cpu_pm.h>
23#include <linux/kernel.h> 23#include <linux/kernel.h>
24#include <linux/linkage.h>
24#include <linux/init.h> 25#include <linux/init.h>
25#include <linux/percpu.h> 26#include <linux/percpu.h>
26#include <linux/preempt.h> 27#include <linux/preempt.h>
@@ -102,7 +103,7 @@ static DEFINE_PER_CPU(struct fpsimd_state *, fpsimd_last_state);
102/* 103/*
103 * Trapped FP/ASIMD access. 104 * Trapped FP/ASIMD access.
104 */ 105 */
105void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs) 106asmlinkage void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs)
106{ 107{
107 /* TODO: implement lazy context saving/restoring */ 108 /* TODO: implement lazy context saving/restoring */
108 WARN_ON(1); 109 WARN_ON(1);
@@ -111,7 +112,7 @@ void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs)
111/* 112/*
112 * Raise a SIGFPE for the current process. 113 * Raise a SIGFPE for the current process.
113 */ 114 */
114void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs) 115asmlinkage void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs)
115{ 116{
116 siginfo_t info; 117 siginfo_t info;
117 unsigned int si_code = 0; 118 unsigned int si_code = 0;