Commit 6763e3e8 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Linus Torvalds

[PATCH] remove unused code: dump_extended_fpu

dump_extended_fpu() is used nowhere in the kernel; save a few bytes...

Signed-off-by: <arjanv@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e1f40fc0
...@@ -71,7 +71,6 @@ EXPORT_SYMBOL(xquad_portio); ...@@ -71,7 +71,6 @@ EXPORT_SYMBOL(xquad_portio);
#endif #endif
EXPORT_SYMBOL(dump_thread); EXPORT_SYMBOL(dump_thread);
EXPORT_SYMBOL(dump_fpu); EXPORT_SYMBOL(dump_fpu);
EXPORT_SYMBOL(dump_extended_fpu);
EXPORT_SYMBOL_GPL(kernel_fpu_begin); EXPORT_SYMBOL_GPL(kernel_fpu_begin);
EXPORT_SYMBOL(__ioremap); EXPORT_SYMBOL(__ioremap);
EXPORT_SYMBOL(ioremap_nocache); EXPORT_SYMBOL(ioremap_nocache);
......
...@@ -519,21 +519,6 @@ int dump_fpu( struct pt_regs *regs, struct user_i387_struct *fpu ) ...@@ -519,21 +519,6 @@ int dump_fpu( struct pt_regs *regs, struct user_i387_struct *fpu )
return fpvalid; return fpvalid;
} }
int dump_extended_fpu( struct pt_regs *regs, struct user_fxsr_struct *fpu )
{
int fpvalid;
struct task_struct *tsk = current;
fpvalid = tsk->used_math && cpu_has_fxsr;
if ( fpvalid ) {
unlazy_fpu( tsk );
memcpy( fpu, &tsk->thread.i387.fxsave,
sizeof(struct user_fxsr_struct) );
}
return fpvalid;
}
int dump_task_fpu(struct task_struct *tsk, struct user_i387_struct *fpu) int dump_task_fpu(struct task_struct *tsk, struct user_i387_struct *fpu)
{ {
int fpvalid = tsk->used_math; int fpvalid = tsk->used_math;
......
...@@ -117,7 +117,5 @@ extern int set_fpxregs( struct task_struct *tsk, ...@@ -117,7 +117,5 @@ extern int set_fpxregs( struct task_struct *tsk,
*/ */
extern int dump_fpu( struct pt_regs *regs, extern int dump_fpu( struct pt_regs *regs,
struct user_i387_struct *fpu ); struct user_i387_struct *fpu );
extern int dump_extended_fpu( struct pt_regs *regs,
struct user_fxsr_struct *fpu );
#endif /* __ASM_I386_I387_H */ #endif /* __ASM_I386_I387_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment