]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-ia64/ptrace.h
Merge branch 'master'
[karo-tx-linux.git] / include / asm-ia64 / ptrace.h
index fc544929ac34f6bdbed78f489a2aca5f7b024d57..2c703d6e0c8630aa234039d0ebdca4d9ce04dc09 100644 (file)
@@ -57,7 +57,9 @@
 #include <linux/config.h>
 
 #include <asm/fpu.h>
+#ifndef ASM_OFFSETS_C
 #include <asm/asm-offsets.h>
+#endif
 
 /*
  * Base-2 logarithm of number of pages to allocate per task structure
@@ -227,6 +229,9 @@ struct switch_stack {
 };
 
 #ifdef __KERNEL__
+
+#define __ARCH_SYS_PTRACE      1
+
 /*
  * We use the ia64_psr(regs)->ri to determine which of the three
  * instructions in bundle (16 bytes) took the sample. Generate