Skip to content

Commit

Permalink
Blackfin arch: move cond_syscall() behind __KERNEL__ like all other a…
Browse files Browse the repository at this point in the history
…rchitectures

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Jun 21, 2007
1 parent 86b73c8 commit b9b7127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/asm-blackfin/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@
#define __ARCH_WANT_SYS_NICE
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#endif

/*
* "Conditional" syscalls
Expand All @@ -379,4 +378,6 @@
*/
#define cond_syscall(x) asm(".weak\t_" #x "\n\t.set\t_" #x ",_sys_ni_syscall");

#endif /* __KERNEL__ */

#endif /* __ASM_BFIN_UNISTD_H */

0 comments on commit b9b7127

Please sign in to comment.