|
@@ -21,6 +21,7 @@
|
|
|
#include <linux/cpu.h>
|
|
|
#include <linux/cpu_pm.h>
|
|
|
#include <linux/kernel.h>
|
|
|
+#include <linux/linkage.h>
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/percpu.h>
|
|
|
#include <linux/preempt.h>
|
|
@@ -102,7 +103,7 @@ static DEFINE_PER_CPU(struct fpsimd_state *, fpsimd_last_state);
|
|
|
/*
|
|
|
* Trapped FP/ASIMD access.
|
|
|
*/
|
|
|
-void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs)
|
|
|
+asmlinkage void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs)
|
|
|
{
|
|
|
/* TODO: implement lazy context saving/restoring */
|
|
|
WARN_ON(1);
|
|
@@ -111,7 +112,7 @@ void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs)
|
|
|
/*
|
|
|
* Raise a SIGFPE for the current process.
|
|
|
*/
|
|
|
-void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs)
|
|
|
+asmlinkage void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs)
|
|
|
{
|
|
|
siginfo_t info;
|
|
|
unsigned int si_code = 0;
|