summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fpu-internal.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-04-03 12:41:14 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-19 15:47:13 +0200
commited97b085461ca6bdc22162b68b4cba69459ce1c8 (patch)
treeb1d5daa6339f4f8a17ba879b743ee14ccd69df23 /arch/x86/include/asm/fpu-internal.h
parent6fbe67124869be10e8b0ceedc4ee7c5691d78c40 (diff)
downloadlinux-ed97b085461ca6bdc22162b68b4cba69459ce1c8.tar.gz
linux-ed97b085461ca6bdc22162b68b4cba69459ce1c8.tar.bz2
linux-ed97b085461ca6bdc22162b68b4cba69459ce1c8.zip
x86/fpu: Rename fpu_alloc() to fpstate_alloc()
Use the fpu__*() namespace for fpstate_alloc() as well. Also add a comment about FPU state alignment. 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, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/asm/fpu-internal.h
index bdbba1a4de69..88f584ab3463 100644
--- a/arch/x86/include/asm/fpu-internal.h
+++ b/arch/x86/include/asm/fpu-internal.h
@@ -569,7 +569,7 @@ static inline unsigned short get_fpu_mxcsr(struct task_struct *tsk)
}
}
-extern int fpu_alloc(struct fpu *fpu);
+extern int fpstate_alloc(struct fpu *fpu);
static inline void fpu_free(struct fpu *fpu)
{