Blackfin arch: move cond_syscall() behind __KERNEL__ like all other architectures
authorMike Frysinger <michael.frysinger@analog.com>
Thu, 21 Jun 2007 03:34:16 +0000 (11:34 +0800)
committerBryan Wu <bryan.wu@analog.com>
Thu, 21 Jun 2007 03:34:16 +0000 (11:34 +0800)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
include/asm-blackfin/unistd.h

index 4df8790a67d52d8f83abb0ae0e7ef81e15de8c0e..0df9f2d322a3a473b54ef9bd4c14ad194966b0c9 100644 (file)
 #define __ARCH_WANT_SYS_NICE
 #define __ARCH_WANT_SYS_RT_SIGACTION
 #define __ARCH_WANT_SYS_RT_SIGSUSPEND
-#endif
 
 /*
  * "Conditional" syscalls
  */
 #define cond_syscall(x) asm(".weak\t_" #x "\n\t.set\t_" #x ",_sys_ni_syscall");
 
+#endif /* __KERNEL__ */
+
 #endif                         /* __ASM_BFIN_UNISTD_H */