summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/unistd.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/unistd.h
parent029669da25efa18ee4b8911e694fdcf4a11c8cbe (diff)
downloadkernel-crypto-47dbec79d1b9ce9e80bed932f345adc92049f05d.tar.gz
kernel-crypto-47dbec79d1b9ce9e80bed932f345adc92049f05d.tar.xz
kernel-crypto-47dbec79d1b9ce9e80bed932f345adc92049f05d.zip
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/unistd.h')
-rw-r--r--include/asm-m32r/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m32r/unistd.h b/include/asm-m32r/unistd.h
index cc31790d807..89f376e6229 100644
--- a/include/asm-m32r/unistd.h
+++ b/include/asm-m32r/unistd.h
@@ -3,8 +3,6 @@
/* $Id$ */
-#include <asm/syscall.h> /* SYSCALL_* */
-
/*
* This file contains the system call numbers.
*/
@@ -303,6 +301,8 @@
* <asm-m32r/errno.h>
*/
+#include <asm/syscall.h> /* SYSCALL_* */
+
#define __syscall_return(type, res) \
do { \
if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \