X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fptrace.h;h=1414316efd405028d84a357a198a7fd3684e8f2a;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=9471cdc3f4c0989a3a8d34a37035f06918e96232;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/include/asm-ia64/ptrace.h b/include/asm-ia64/ptrace.h index 9471cdc3f..1414316ef 100644 --- a/include/asm-ia64/ptrace.h +++ b/include/asm-ia64/ptrace.h @@ -54,9 +54,10 @@ * This is because ar.ec is saved as part of ar.pfs. */ -#include #include + +#ifdef __KERNEL__ #ifndef ASM_OFFSETS_C #include #endif @@ -80,10 +81,9 @@ #define KERNEL_STACK_SIZE IA64_STK_OFFSET -#ifndef __ASSEMBLY__ +#endif /* __KERNEL__ */ -#include -#include +#ifndef __ASSEMBLY__ /* * This struct defines the way the registers are saved on system @@ -230,6 +230,9 @@ struct switch_stack { #ifdef __KERNEL__ +#include +#include + #define __ARCH_SYS_PTRACE 1 /*