diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:31:55 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:55 -0500 |
commit | 60b3b9af35aad66345e395be911e46fb8443f0c5 (patch) | |
tree | a12ce3f11c2cb77f6b791351ec7035c80e9a2041 /arch/x86/kernel/process_32.c | |
parent | 5a4646a4efed8c835f76c3b88f3155f6ab5b8d9b (diff) |
x86: x86 user_regset cleanup
This removes a bunch of dead code that is no longer needed now
that the user_regset interfaces are being used for all these jobs.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r-- | arch/x86/kernel/process_32.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 40cc29695eba..35a6f318c541 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c | |||
@@ -571,22 +571,6 @@ void dump_thread(struct pt_regs * regs, struct user * dump) | |||
571 | } | 571 | } |
572 | EXPORT_SYMBOL(dump_thread); | 572 | EXPORT_SYMBOL(dump_thread); |
573 | 573 | ||
574 | /* | ||
575 | * Capture the user space registers if the task is not running (in user space) | ||
576 | */ | ||
577 | int dump_task_regs(struct task_struct *tsk, elf_gregset_t *regs) | ||
578 | { | ||
579 | struct pt_regs ptregs = *task_pt_regs(tsk); | ||
580 | ptregs.cs &= 0xffff; | ||
581 | ptregs.ds &= 0xffff; | ||
582 | ptregs.es &= 0xffff; | ||
583 | ptregs.ss &= 0xffff; | ||
584 | |||
585 | elf_core_copy_regs(regs, &ptregs); | ||
586 | |||
587 | return 1; | ||
588 | } | ||
589 | |||
590 | #ifdef CONFIG_SECCOMP | 574 | #ifdef CONFIG_SECCOMP |
591 | static void hard_disable_TSC(void) | 575 | static void hard_disable_TSC(void) |
592 | { | 576 | { |