summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/processor.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2020-01-18 01:00:41 +0100
committerVineet Gupta <vgupta@synopsys.com>2020-01-18 01:53:38 +0100
commitf05523aa7a1e63bfada5e222c0a57e02dbd4fcfa (patch)
treecd56e4c8e5dbc2f85ee94065191052088a2863c1 /arch/arc/include/asm/processor.h
parentARC: wireup clone3 syscall (diff)
downloadlinux-f05523aa7a1e63bfada5e222c0a57e02dbd4fcfa.tar.xz
linux-f05523aa7a1e63bfada5e222c0a57e02dbd4fcfa.zip
ARC: fpu: declutter code, move bits out into fpu.h
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/processor.h')
-rw-r--r--arch/arc/include/asm/processor.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h
index 706edeaa5583..ec532d1e0725 100644
--- a/arch/arc/include/asm/processor.h
+++ b/arch/arc/include/asm/processor.h
@@ -14,15 +14,7 @@
#ifndef __ASSEMBLY__
#include <asm/ptrace.h>
-
-#ifdef CONFIG_ARC_FPU_SAVE_RESTORE
-/* These DPFP regs need to be saved/restored across ctx-sw */
-struct arc_fpu {
- struct {
- unsigned int l, h;
- } aux_dpfp[2];
-};
-#endif
+#include <asm/fpu.h>
#ifdef CONFIG_ARC_PLAT_EZNPS
struct eznps_dp {