linux/arch/x86/um
Richard Weinberger b5c04da022 um: prctl: Do not include linux/ptrace.h
On recent toolchains we hit:
In file included from arch/x86/um/os-Linux/prctl.c:7:0:
/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct
ptrace_peeksiginfo_args’ struct ptrace_peeksiginfo_args {
        ^
In file included from arch/x86/um/os-Linux/prctl.c:6:0:
/usr/include/sys/ptrace.h:191:8: note: originally defined here
 struct ptrace_peeksiginfo_args
        ^
make[2]: *** [arch/x86/um/os-Linux/prctl.o] Error 1
make[1]: *** [arch/x86/um/os-Linux] Error 2
make: *** [arch/x86/um] Error 2

The solution is not to include linux/ptrace.h and obtain
the arch specific ptrace command from asm/ptrace.h.

Reported-and-tested-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
2013-09-07 10:57:11 +02:00
..
asm missing user_stack_pointer() instances 2012-12-19 18:07:39 -05:00
os-Linux um: prctl: Do not include linux/ptrace.h 2013-09-07 10:57:11 +02:00
shared/sysdep sanitize rt_sigaction() situation a bit 2013-02-03 15:09:18 -05:00
vdso
bug.c
bugs_32.c
bugs_64.c
checksum_32.S
delay.c
elfcore.c
fault.c um: don't compare a pointer to 0 2012-12-20 11:49:39 -08:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2013-02-23 18:50:11 -08:00
ksyms.c
ldt.c
Makefile x86: switch to generic old sigaction 2013-02-03 18:16:27 -05:00
mem_32.c
mem_64.c
ptrace_32.c
ptrace_64.c
ptrace_user.c
setjmp_32.S
setjmp_64.S
signal.c um: remove dead code 2013-07-19 11:35:32 +02:00
stub_32.S
stub_64.S
stub_segv.c
sys_call_table_32.c x86: get rid of pt_regs argument in vm86/vm86old 2013-02-03 18:16:24 -05:00
sys_call_table_64.c introduce generic sys_sigaltstack(), switch x86 and um to it 2012-12-19 18:07:40 -05:00
syscalls_64.c
sysrq_32.c
sysrq_64.c
tls_32.c make SYSCALL_DEFINE<n>-generated wrappers do asmlinkage_protect 2013-03-03 22:58:33 -05:00
tls_64.c
user-offsets.c