aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/unistd.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-17 03:39:39 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-21 03:41:35 -0400
commit47dbec79d1b9ce9e80bed932f345adc92049f05d (patch)
treeb03f432ff18e1356c5901776040a94c83978f412 /include/asm-m32r/unistd.h
parent029669da25efa18ee4b8911e694fdcf4a11c8cbe (diff)
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 cc31790d8077..89f376e6229f 100644
--- a/include/asm-m32r/unistd.h
+++ b/include/asm-m32r/unistd.h
@@ -3,8 +3,6 @@
3 3
4/* $Id$ */ 4/* $Id$ */
5 5
6#include <asm/syscall.h> /* SYSCALL_* */
7
8/* 6/*
9 * This file contains the system call numbers. 7 * This file contains the system call numbers.
10 */ 8 */
@@ -303,6 +301,8 @@
303 * <asm-m32r/errno.h> 301 * <asm-m32r/errno.h>
304 */ 302 */
305 303
304#include <asm/syscall.h> /* SYSCALL_* */
305
306#define __syscall_return(type, res) \ 306#define __syscall_return(type, res) \
307do { \ 307do { \
308 if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \ 308 if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \