linux/arch/x86/um/shared/sysdep
Linus Torvalds 90a4c0f51e uml: fix compile for x86-64
Randy Dunlap reports that we get

  arch/x86/um/shared/sysdep/ptrace.h:7:20: error: redefinition of 'regs_return_value'
  arch/x86/um/shared/sysdep/ptrace.h:7:20: note: previous definition of 'regs_return_value' was here

when compiling UML for x86-64.

Stephen Rothwell root-caused it and says:

 "Caused by commit d7e7528bcd ("Audit: push audit success and retcode
  into arch ptrace.h") (another patch that was never in linux-next :-().

  This file now needs protection against double inclusion."

so let's do as the man says.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Analyzed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-18 19:26:11 -08:00
..
archsetjmp.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
archsetjmp_32.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
archsetjmp_64.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
faultinfo.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
faultinfo_32.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
faultinfo_64.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
kernel-offsets.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
mcontext.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
ptrace.h uml: fix compile for x86-64 2012-01-18 19:26:11 -08:00
ptrace_32.h um: merge HOST_... of registers common on i386 and amd64 2011-11-02 14:15:18 +01:00
ptrace_64.h um: unify ptrace_user.h 2011-11-02 14:15:27 +01:00
ptrace_user.h um: unify ptrace_user.h 2011-11-02 14:15:27 +01:00
skas_ptrace.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
stub.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
stub_32.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
stub_64.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
syscalls.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
syscalls_32.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
syscalls_64.h um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
tls.h um: take ldt.h to arch/x86/um/asm/mm_context.h 2011-11-02 14:15:21 +01:00