summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/processor.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2020-01-17 16:00:41 -0800
committerVineet Gupta <vgupta@synopsys.com>2020-01-17 16:53:38 -0800
commitf05523aa7a1e63bfada5e222c0a57e02dbd4fcfa (patch)
treecd56e4c8e5dbc2f85ee94065191052088a2863c1 /arch/arc/include/asm/processor.h
parentbd71c453db91ecb464405411f2821d040f2a0d44 (diff)
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 {