From: Mike Frysinger Date: Thu, 21 Jun 2007 03:34:16 +0000 (+0800) Subject: Blackfin arch: move cond_syscall() behind __KERNEL__ like all other architectures X-Git-Tag: v2.6.22-rc6~37^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b9b712765738d141154b435a5bfec4adbbee25f3;p=linux-2.6-omap-h63xx.git Blackfin arch: move cond_syscall() behind __KERNEL__ like all other architectures Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu --- diff --git a/include/asm-blackfin/unistd.h b/include/asm-blackfin/unistd.h index 4df8790a67d..0df9f2d322a 100644 --- a/include/asm-blackfin/unistd.h +++ b/include/asm-blackfin/unistd.h @@ -369,7 +369,6 @@ #define __ARCH_WANT_SYS_NICE #define __ARCH_WANT_SYS_RT_SIGACTION #define __ARCH_WANT_SYS_RT_SIGSUSPEND -#endif /* * "Conditional" syscalls @@ -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 */