summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/ptrace.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-17 08:39:39 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-21 08:41:35 +0100
commit47dbec79d1b9ce9e80bed932f345adc92049f05d (patch)
treeb03f432ff18e1356c5901776040a94c83978f412 /include/asm-m32r/ptrace.h
parent029669da25efa18ee4b8911e694fdcf4a11c8cbe (diff)
downloadop-kernel-dev-47dbec79d1b9ce9e80bed932f345adc92049f05d.zip
op-kernel-dev-47dbec79d1b9ce9e80bed932f345adc92049f05d.tar.gz
Fix 'make headers_check' on m32r
> asm-m32r/page.h requires asm-generic/memory_model.h, which does not exist > asm-m32r/ptrace.h requires asm/m32r.h, which does not exist > asm-m32r/signal.h requires linux/linkage.h, which does not exist > asm-m32r/unistd.h requires asm/syscall.h, which does not exist > asm-m32r/user.h requires asm/processor.h, which does not exist Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-m32r/ptrace.h')
-rw-r--r--include/asm-m32r/ptrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m32r/ptrace.h b/include/asm-m32r/ptrace.h
index a07fa90..2d2a6c9 100644
--- a/include/asm-m32r/ptrace.h
+++ b/include/asm-m32r/ptrace.h
@@ -12,8 +12,6 @@
* Copyright (C) 2001-2002, 2004 Hirokazu Takata <takata at linux-m32r.org>
*/
-#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
-
/* 0 - 13 are integer registers (general purpose registers). */
#define PT_R4 0
#define PT_R5 1
@@ -140,6 +138,8 @@ struct pt_regs {
#ifdef __KERNEL__
+#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
+
#define __ARCH_SYS_PTRACE 1
#if defined(CONFIG_ISA_M32R2) || defined(CONFIG_CHIP_VDEC2)
OpenPOWER on IntegriCloud