Re: [PATCH] [1/20] x86: Make ptrace.h safe to include from assembler code

Ingo Molnar
2008-01-03T09:55:16Z

* Andi Kleen <ak@suse.de> wrote:

> Index: linux/include/asm-x86/ptrace-abi.h
> ===================================================================
> --- linux.orig/include/asm-x86/ptrace-abi.h
> +++ linux/include/asm-x86/ptrace-abi.h
> @@ -80,6 +80,7 @@
>
> #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
>
> +#ifndef __ASSEMBLY__

hm, this patch misses a rationale - what assembly code includes
ptrace-abi.h directly or indirectly? Did you see any build breakage with
x86.git that requires this? (if yes then please send me the .config)

Ingo