x86: x86 ptrace getreg/putreg cleanup
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:01 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:01 +0000 (13:31 +0100)
commit06ee1b687ac91698ccd47fa652d5b3cf1bfcd806
treedb41e43959a366a5bfa31f23d631402dd2b78298
parente39c2891415b3b5c7381ece06bb45b3c7bdd4342
x86: x86 ptrace getreg/putreg cleanup

This cleans up the getreg/putreg functions to move the special cases
(segment registers and eflags) out into their own subroutines.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/ptrace.c