diff options
Diffstat (limited to 'include/asm-arm26/unistd.h')
-rw-r--r-- | include/asm-arm26/unistd.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-arm26/unistd.h b/include/asm-arm26/unistd.h index be4c2fb9c049..70eb6d91cfd0 100644 --- a/include/asm-arm26/unistd.h +++ b/include/asm-arm26/unistd.h | |||
@@ -14,8 +14,6 @@ | |||
14 | #ifndef __ASM_ARM_UNISTD_H | 14 | #ifndef __ASM_ARM_UNISTD_H |
15 | #define __ASM_ARM_UNISTD_H | 15 | #define __ASM_ARM_UNISTD_H |
16 | 16 | ||
17 | #include <linux/linkage.h> | ||
18 | |||
19 | #define __NR_SYSCALL_BASE 0x900000 | 17 | #define __NR_SYSCALL_BASE 0x900000 |
20 | 18 | ||
21 | /* | 19 | /* |
@@ -312,6 +310,9 @@ | |||
312 | #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) | 310 | #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) |
313 | #define __ARM_NR_usr26 (__ARM_NR_BASE+3) | 311 | #define __ARM_NR_usr26 (__ARM_NR_BASE+3) |
314 | 312 | ||
313 | #ifdef __KERNEL__ | ||
314 | #include <linux/linkage.h> | ||
315 | |||
315 | #define __sys2(x) #x | 316 | #define __sys2(x) #x |
316 | #define __sys1(x) __sys2(x) | 317 | #define __sys1(x) __sys2(x) |
317 | 318 | ||
@@ -443,7 +444,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6 | |||
443 | __syscall_return(type,__res); \ | 444 | __syscall_return(type,__res); \ |
444 | } | 445 | } |
445 | 446 | ||
446 | #ifdef __KERNEL__ | ||
447 | #define __ARCH_WANT_IPC_PARSE_VERSION | 447 | #define __ARCH_WANT_IPC_PARSE_VERSION |
448 | #define __ARCH_WANT_OLD_READDIR | 448 | #define __ARCH_WANT_OLD_READDIR |
449 | #define __ARCH_WANT_STAT64 | 449 | #define __ARCH_WANT_STAT64 |
@@ -462,7 +462,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6 | |||
462 | #define __ARCH_WANT_SYS_SIGPENDING | 462 | #define __ARCH_WANT_SYS_SIGPENDING |
463 | #define __ARCH_WANT_SYS_SIGPROCMASK | 463 | #define __ARCH_WANT_SYS_SIGPROCMASK |
464 | #define __ARCH_WANT_SYS_RT_SIGACTION | 464 | #define __ARCH_WANT_SYS_RT_SIGACTION |
465 | #endif | ||
466 | 465 | ||
467 | #ifdef __KERNEL_SYSCALLS__ | 466 | #ifdef __KERNEL_SYSCALLS__ |
468 | 467 | ||
@@ -486,7 +485,7 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
486 | struct sigaction __user *oact, | 485 | struct sigaction __user *oact, |
487 | size_t sigsetsize); | 486 | size_t sigsetsize); |
488 | 487 | ||
489 | #endif | 488 | #endif /* __KERNEL_SYSCALLS__ */ |
490 | 489 | ||
491 | /* | 490 | /* |
492 | * "Conditional" syscalls | 491 | * "Conditional" syscalls |
@@ -496,4 +495,5 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
496 | */ | 495 | */ |
497 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") | 496 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") |
498 | 497 | ||
498 | #endif /* __KERNEL__ */ | ||
499 | #endif /* __ASM_ARM_UNISTD_H */ | 499 | #endif /* __ASM_ARM_UNISTD_H */ |