Blackfin arch: move cond_syscall() behind __KERNEL__ like all other architectures

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
Mike Frysinger 2007-06-21 11:34:16 +08:00 committed by Bryan Wu
parent 86b73c8cfc
commit b9b7127657
1 changed files with 2 additions and 1 deletions

View File

@ -369,7 +369,6 @@
#define __ARCH_WANT_SYS_NICE #define __ARCH_WANT_SYS_NICE
#define __ARCH_WANT_SYS_RT_SIGACTION #define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND #define __ARCH_WANT_SYS_RT_SIGSUSPEND
#endif
/* /*
* "Conditional" syscalls * "Conditional" syscalls
@ -379,4 +378,6 @@
*/ */
#define cond_syscall(x) asm(".weak\t_" #x "\n\t.set\t_" #x ",_sys_ni_syscall"); #define cond_syscall(x) asm(".weak\t_" #x "\n\t.set\t_" #x ",_sys_ni_syscall");
#endif /* __KERNEL__ */
#endif /* __ASM_BFIN_UNISTD_H */ #endif /* __ASM_BFIN_UNISTD_H */