x86/fpu: Harmonize the names of the fpstate_init() helper functions
Harmonize the inconsistent naming of these related functions:
fpstate_init()
finit_soft_fpu() => fpstate_init_fsoft()
fx_finit() => fpstate_init_fxstate()
fx_finit() => fpstate_init_fstate() # split out
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
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>
This commit is contained in:
@@ -30,7 +30,7 @@ static void fclex(void)
|
||||
}
|
||||
|
||||
/* Needs to be externally visible */
|
||||
void finit_soft_fpu(struct i387_soft_struct *soft)
|
||||
void fpstate_init_soft(struct i387_soft_struct *soft)
|
||||
{
|
||||
struct address *oaddr, *iaddr;
|
||||
memset(soft, 0, sizeof(*soft));
|
||||
@@ -52,7 +52,7 @@ void finit_soft_fpu(struct i387_soft_struct *soft)
|
||||
|
||||
void finit(void)
|
||||
{
|
||||
finit_soft_fpu(¤t->thread.fpu.state.soft);
|
||||
fpstate_init_soft(¤t->thread.fpu.state.soft);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user