x86: x86 ptrace merge complete
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:02 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:02 +0000 (13:31 +0100)
This switches over the 64-bit build to use the shared ptrace code,
instead of the old ptrace_64.c and arch/x86/ia32/ptrace32.c code.

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/ia32/Makefile
arch/x86/kernel/Makefile_64
include/asm-x86/ptrace.h

index ea608864084733699425f8c763f937dfa566f9af..ec71cfeac87ef795aa0434a5b93c4b9bcc33ccc7 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 obj-$(CONFIG_IA32_EMULATION) := ia32entry.o sys_ia32.o ia32_signal.o \
-       ia32_binfmt.o fpu32.o ptrace32.o
+       ia32_binfmt.o fpu32.o
 
 sysv-$(CONFIG_SYSVIPC) := ipc32.o
 obj-$(CONFIG_IA32_EMULATION) += $(sysv-y)
index d908f0175e76d11224e3dded12fe921e0e89867d..b41e838dc788aa65d5f12188d5bccad81f0c4d6a 100644 (file)
@@ -7,12 +7,13 @@ CPPFLAGS_vmlinux.lds += -Ux86_64
 EXTRA_AFLAGS   := -traditional
 
 obj-y  := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \
-               ptrace_64.o time_64.o ioport_64.o ldt.o setup_64.o i8259_64.o sys_x86_64.o \
+               time_64.o ioport_64.o ldt.o setup_64.o i8259_64.o sys_x86_64.o \
                x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \
                setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \
                pci-dma_64.o pci-nommu_64.o alternative.o hpet.o tsc_64.o bugs_64.o \
                i8253.o io_delay.o rtc.o
 
+obj-y                          += ptrace.o
 obj-y                          += step.o
 
 obj-$(CONFIG_IA32_EMULATION)   += tls.o
index 1b7a8b8d6f60039fdd3a145d224d422c16060e3f..9228870f6157eec18a36091d749e62b923ce7751 100644 (file)
@@ -164,9 +164,6 @@ void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
 
 struct task_struct;
 
-extern unsigned long ptrace_get_debugreg(struct task_struct *child, int n);
-extern int ptrace_set_debugreg(struct task_struct *child, int n, unsigned long);
-
 extern unsigned long
 convert_rip_to_linear(struct task_struct *child, struct pt_regs *regs);