diff options
Diffstat (limited to 'include/asm-s390/unistd.h')
-rw-r--r-- | include/asm-s390/unistd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-s390/unistd.h b/include/asm-s390/unistd.h index 41c2792ff6b0..e21443d3ea1d 100644 --- a/include/asm-s390/unistd.h +++ b/include/asm-s390/unistd.h | |||
@@ -392,6 +392,8 @@ | |||
392 | 392 | ||
393 | #endif | 393 | #endif |
394 | 394 | ||
395 | #ifdef __KERNEL__ | ||
396 | |||
395 | /* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */ | 397 | /* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */ |
396 | 398 | ||
397 | #define __syscall_return(type, res) \ | 399 | #define __syscall_return(type, res) \ |
@@ -546,7 +548,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, \ | |||
546 | __syscall_return(type,__res); \ | 548 | __syscall_return(type,__res); \ |
547 | } | 549 | } |
548 | 550 | ||
549 | #ifdef __KERNEL__ | ||
550 | #define __ARCH_WANT_IPC_PARSE_VERSION | 551 | #define __ARCH_WANT_IPC_PARSE_VERSION |
551 | #define __ARCH_WANT_OLD_READDIR | 552 | #define __ARCH_WANT_OLD_READDIR |
552 | #define __ARCH_WANT_SYS_ALARM | 553 | #define __ARCH_WANT_SYS_ALARM |
@@ -573,11 +574,9 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, \ | |||
573 | # define __ARCH_WANT_COMPAT_SYS_TIME | 574 | # define __ARCH_WANT_COMPAT_SYS_TIME |
574 | # define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | 575 | # define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND |
575 | # endif | 576 | # endif |
576 | #endif | ||
577 | 577 | ||
578 | #ifdef __KERNEL_SYSCALLS__ | 578 | #ifdef __KERNEL_SYSCALLS__ |
579 | 579 | ||
580 | #include <linux/config.h> | ||
581 | #include <linux/compiler.h> | 580 | #include <linux/compiler.h> |
582 | #include <linux/types.h> | 581 | #include <linux/types.h> |
583 | #include <asm/ptrace.h> | 582 | #include <asm/ptrace.h> |
@@ -625,7 +624,7 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
625 | struct sigaction __user *oact, | 624 | struct sigaction __user *oact, |
626 | size_t sigsetsize); | 625 | size_t sigsetsize); |
627 | 626 | ||
628 | #endif | 627 | #endif /* __KERNEL_SYSCALLS__ */ |
629 | 628 | ||
630 | /* | 629 | /* |
631 | * "Conditional" syscalls | 630 | * "Conditional" syscalls |
@@ -635,4 +634,5 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
635 | */ | 634 | */ |
636 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") | 635 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") |
637 | 636 | ||
637 | #endif /* __KERNEL__ */ | ||
638 | #endif /* _ASM_S390_UNISTD_H_ */ | 638 | #endif /* _ASM_S390_UNISTD_H_ */ |