aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/ptrace.h')
-rw-r--r--include/asm-ia64/ptrace.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/asm-ia64/ptrace.h b/include/asm-ia64/ptrace.h
index 9471cdc3f4c..1414316efd4 100644
--- a/include/asm-ia64/ptrace.h
+++ b/include/asm-ia64/ptrace.h
@@ -54,9 +54,10 @@
54 * This is because ar.ec is saved as part of ar.pfs. 54 * This is because ar.ec is saved as part of ar.pfs.
55 */ 55 */
56 56
57#include <linux/config.h>
58 57
59#include <asm/fpu.h> 58#include <asm/fpu.h>
59
60#ifdef __KERNEL__
60#ifndef ASM_OFFSETS_C 61#ifndef ASM_OFFSETS_C
61#include <asm/asm-offsets.h> 62#include <asm/asm-offsets.h>
62#endif 63#endif
@@ -80,10 +81,9 @@
80 81
81#define KERNEL_STACK_SIZE IA64_STK_OFFSET 82#define KERNEL_STACK_SIZE IA64_STK_OFFSET
82 83
83#ifndef __ASSEMBLY__ 84#endif /* __KERNEL__ */
84 85
85#include <asm/current.h> 86#ifndef __ASSEMBLY__
86#include <asm/page.h>
87 87
88/* 88/*
89 * This struct defines the way the registers are saved on system 89 * This struct defines the way the registers are saved on system
@@ -230,6 +230,9 @@ struct switch_stack {
230 230
231#ifdef __KERNEL__ 231#ifdef __KERNEL__
232 232
233#include <asm/current.h>
234#include <asm/page.h>
235
233#define __ARCH_SYS_PTRACE 1 236#define __ARCH_SYS_PTRACE 1
234 237
235/* 238/*