diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-19 19:11:29 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-19 19:11:29 -0400 |
commit | b123923d486d38e1a961e82040a26838401aebb5 (patch) | |
tree | a0a16774c962faeb6750426947ada60839521006 /arch | |
parent | 9b7cf8b49dc4464b222afc9fa32628bb9a2e70a3 (diff) |
powerpc: Move ptrace32.c from arch/ppc64 to arch/powerpc
Also corrected my email address in ptrace.c and updated the comments
at the top of ptrace32.c.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/ptrace.c | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/ptrace32.c (renamed from arch/ppc64/kernel/ptrace32.c) | 9 | ||||
-rw-r--r-- | arch/ppc64/kernel/Makefile | 2 |
4 files changed, 8 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 01b6d630edc9..5c5d2b5f3ca2 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -12,7 +12,7 @@ endif | |||
12 | 12 | ||
13 | obj-y := semaphore.o cputable.o ptrace.o syscalls.o \ | 13 | obj-y := semaphore.o cputable.o ptrace.o syscalls.o \ |
14 | signal_32.o | 14 | signal_32.o |
15 | obj-$(CONFIG_PPC64) += binfmt_elf32.o sys_ppc32.o | 15 | obj-$(CONFIG_PPC64) += binfmt_elf32.o sys_ppc32.o ptrace32.o |
16 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o | 16 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o |
17 | obj-$(CONFIG_POWER4) += idle_power4.o | 17 | obj-$(CONFIG_POWER4) += idle_power4.o |
18 | obj-$(CONFIG_PPC_OF) += of_device.o | 18 | obj-$(CONFIG_PPC_OF) += of_device.o |
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index 336b8bf542d7..943425a93354 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds | 8 | * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds |
9 | * | 9 | * |
10 | * Modified by Cort Dougan (cort@hq.fsmlabs.com) | 10 | * Modified by Cort Dougan (cort@hq.fsmlabs.com) |
11 | * and Paul Mackerras (paulus@linuxcare.com.au). | 11 | * and Paul Mackerras (paulus@samba.org). |
12 | * | 12 | * |
13 | * This file is subject to the terms and conditions of the GNU General | 13 | * This file is subject to the terms and conditions of the GNU General |
14 | * Public License. See the file README.legal in the main directory of | 14 | * Public License. See the file README.legal in the main directory of |
diff --git a/arch/ppc64/kernel/ptrace32.c b/arch/powerpc/kernel/ptrace32.c index 2e1df3ddd9fb..544368277d7e 100644 --- a/arch/ppc64/kernel/ptrace32.c +++ b/arch/powerpc/kernel/ptrace32.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/ppc64/kernel/ptrace32.c | 2 | * ptrace for 32-bit processes running on a 64-bit kernel. |
3 | * | 3 | * |
4 | * PowerPC version | 4 | * PowerPC version |
5 | * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) | 5 | * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) |
@@ -10,10 +10,10 @@ | |||
10 | * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds | 10 | * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds |
11 | * | 11 | * |
12 | * Modified by Cort Dougan (cort@hq.fsmlabs.com) | 12 | * Modified by Cort Dougan (cort@hq.fsmlabs.com) |
13 | * and Paul Mackerras (paulus@linuxcare.com.au). | 13 | * and Paul Mackerras (paulus@samba.org). |
14 | * | 14 | * |
15 | * This file is subject to the terms and conditions of the GNU General | 15 | * This file is subject to the terms and conditions of the GNU General |
16 | * Public License. See the file README.legal in the main directory of | 16 | * Public License. See the file COPYING in the main directory of |
17 | * this archive for more details. | 17 | * this archive for more details. |
18 | */ | 18 | */ |
19 | 19 | ||
@@ -40,7 +40,8 @@ | |||
40 | * in exit.c or in signal.c. | 40 | * in exit.c or in signal.c. |
41 | */ | 41 | */ |
42 | 42 | ||
43 | int compat_sys_ptrace(long request, long pid, unsigned long addr, unsigned long data) | 43 | int compat_sys_ptrace(int request, int pid, unsigned long addr, |
44 | unsigned long data) | ||
44 | { | 45 | { |
45 | struct task_struct *child; | 46 | struct task_struct *child; |
46 | int ret = -EPERM; | 47 | int ret = -EPERM; |
diff --git a/arch/ppc64/kernel/Makefile b/arch/ppc64/kernel/Makefile index 19846d78b329..8c9012f0ce6a 100644 --- a/arch/ppc64/kernel/Makefile +++ b/arch/ppc64/kernel/Makefile | |||
@@ -15,7 +15,7 @@ obj-y += irq.o idle.o dma.o \ | |||
15 | time.o signal.o \ | 15 | time.o signal.o \ |
16 | align.o bitops.o pacaData.o \ | 16 | align.o bitops.o pacaData.o \ |
17 | udbg.o ioctl32.o \ | 17 | udbg.o ioctl32.o \ |
18 | ptrace32.o rtc.o \ | 18 | rtc.o \ |
19 | cpu_setup_power4.o \ | 19 | cpu_setup_power4.o \ |
20 | iommu.o sysfs.o vdso.o pmc.o firmware.o | 20 | iommu.o sysfs.o vdso.o pmc.o firmware.o |
21 | obj-y += vdso32/ vdso64/ | 21 | obj-y += vdso32/ vdso64/ |