summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fpu-internal.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-04-22 13:41:56 (GMT)
committerIngo Molnar <mingo@kernel.org>2015-05-19 13:47:19 (GMT)
commit8ffb53ab986ccb4421b1060182c6e084edd7b9d8 (patch)
treededee92eb977ae073873f7ddc1caad3c6db4dad7 /arch/x86/include/asm/fpu-internal.h
parent0afc4a941c0e7b8f6f619fe576f7c5ddbe78d304 (diff)
downloadlinux-8ffb53ab986ccb4421b1060182c6e084edd7b9d8.tar.xz
x86/fpu: Move task_xstate_cachep handling to core.c
This code was historically in process.c, now we have FPU core internals in fpu/core.c instead - move it there. Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/fpu-internal.h')
-rw-r--r--arch/x86/include/asm/fpu-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/asm/fpu-internal.h
index 95e04cb..f41170c 100644
--- a/arch/x86/include/asm/fpu-internal.h
+++ b/arch/x86/include/asm/fpu-internal.h
@@ -564,6 +564,8 @@ static inline unsigned short get_fpu_mxcsr(struct task_struct *tsk)
}
}
+extern void fpstate_cache_init(void);
+
extern int fpstate_alloc(struct fpu *fpu);
static inline void fpstate_free(struct fpu *fpu)