提交 b9b71276 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

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

Signed-off-by: NMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
上级 86b73c8c
...@@ -369,7 +369,6 @@ ...@@ -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 @@ ...@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册