diff options
Diffstat (limited to 'include/asm-m68knommu/unistd.h')
-rw-r--r-- | include/asm-m68knommu/unistd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-m68knommu/unistd.h b/include/asm-m68knommu/unistd.h index 5373988a7e51..1b2abdf281e1 100644 --- a/include/asm-m68knommu/unistd.h +++ b/include/asm-m68knommu/unistd.h | |||
@@ -286,6 +286,8 @@ | |||
286 | #define __NR_request_key 280 | 286 | #define __NR_request_key 280 |
287 | #define __NR_keyctl 281 | 287 | #define __NR_keyctl 281 |
288 | 288 | ||
289 | #ifdef __KERNEL__ | ||
290 | |||
289 | #define NR_syscalls 282 | 291 | #define NR_syscalls 282 |
290 | 292 | ||
291 | /* user-visible error numbers are in the range -1 - -122: see | 293 | /* user-visible error numbers are in the range -1 - -122: see |
@@ -437,7 +439,6 @@ type name(atype a, btype b, ctype c, dtype d, etype e) \ | |||
437 | return (type)__res; \ | 439 | return (type)__res; \ |
438 | } | 440 | } |
439 | 441 | ||
440 | #ifdef __KERNEL__ | ||
441 | #define __ARCH_WANT_IPC_PARSE_VERSION | 442 | #define __ARCH_WANT_IPC_PARSE_VERSION |
442 | #define __ARCH_WANT_OLD_READDIR | 443 | #define __ARCH_WANT_OLD_READDIR |
443 | #define __ARCH_WANT_OLD_STAT | 444 | #define __ARCH_WANT_OLD_STAT |
@@ -460,7 +461,6 @@ type name(atype a, btype b, ctype c, dtype d, etype e) \ | |||
460 | #define __ARCH_WANT_SYS_SIGPENDING | 461 | #define __ARCH_WANT_SYS_SIGPENDING |
461 | #define __ARCH_WANT_SYS_SIGPROCMASK | 462 | #define __ARCH_WANT_SYS_SIGPROCMASK |
462 | #define __ARCH_WANT_SYS_RT_SIGACTION | 463 | #define __ARCH_WANT_SYS_RT_SIGACTION |
463 | #endif | ||
464 | 464 | ||
465 | #ifdef __KERNEL_SYSCALLS__ | 465 | #ifdef __KERNEL_SYSCALLS__ |
466 | 466 | ||
@@ -515,7 +515,7 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
515 | struct sigaction __user *oact, | 515 | struct sigaction __user *oact, |
516 | size_t sigsetsize); | 516 | size_t sigsetsize); |
517 | 517 | ||
518 | #endif | 518 | #endif /* __KERNEL_SYSCALLS__ */ |
519 | 519 | ||
520 | /* | 520 | /* |
521 | * "Conditional" syscalls | 521 | * "Conditional" syscalls |
@@ -525,4 +525,5 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
525 | */ | 525 | */ |
526 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") | 526 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") |
527 | 527 | ||
528 | #endif /* __KERNEL__ */ | ||
528 | #endif /* _ASM_M68K_UNISTD_H_ */ | 529 | #endif /* _ASM_M68K_UNISTD_H_ */ |