aboutsummaryrefslogtreecommitdiff
path: root/include/asm-frv/fpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/fpu.h')
-rw-r--r--include/asm-frv/fpu.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-frv/fpu.h b/include/asm-frv/fpu.h
new file mode 100644
index 00000000000..b1178f8ca5c
--- /dev/null
+++ b/include/asm-frv/fpu.h
@@ -0,0 +1,12 @@
+#ifndef __ASM_FPU_H
+#define __ASM_FPU_H
+
+#include <linux/config.h>
+
+/*
+ * MAX floating point unit state size (FSAVE/FRESTORE)
+ */
+
+#define kernel_fpu_end() do { asm volatile("bar":::"memory"); preempt_enable(); } while(0)
+
+#endif /* __ASM_FPU_H */