summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/ptrace.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-17 01:06:01 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-17 01:06:01 -0400
commitf50e5ea14baa321c5f0ff71707a83b02bf5b9398 (patch)
tree2019c5bc11d99a353f3274853e913f489ed103ce /include/asm-ia64/ptrace.h
parentecf7f354e228ac9e80d2d25a0a0cbc8c876e9ab4 (diff)
parent803db244b9f71102e366fd689000c1417b9a7508 (diff)
downloadkernel-crypto-f50e5ea14baa321c5f0ff71707a83b02bf5b9398.tar.gz
kernel-crypto-f50e5ea14baa321c5f0ff71707a83b02bf5b9398.tar.xz
kernel-crypto-f50e5ea14baa321c5f0ff71707a83b02bf5b9398.zip
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'include/asm-ia64/ptrace.h')
-rw-r--r--include/asm-ia64/ptrace.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/asm-ia64/ptrace.h b/include/asm-ia64/ptrace.h
index 415abb23b21..1414316efd4 100644
--- a/include/asm-ia64/ptrace.h
+++ b/include/asm-ia64/ptrace.h
@@ -56,6 +56,8 @@
#include <asm/fpu.h>
+
+#ifdef __KERNEL__
#ifndef ASM_OFFSETS_C
#include <asm/asm-offsets.h>
#endif
@@ -79,10 +81,9 @@
#define KERNEL_STACK_SIZE IA64_STK_OFFSET
-#ifndef __ASSEMBLY__
+#endif /* __KERNEL__ */
-#include <asm/current.h>
-#include <asm/page.h>
+#ifndef __ASSEMBLY__
/*
* This struct defines the way the registers are saved on system
@@ -229,6 +230,9 @@ struct switch_stack {
#ifdef __KERNEL__
+#include <asm/current.h>
+#include <asm/page.h>
+
#define __ARCH_SYS_PTRACE 1
/*