aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-xtensa/unistd.h')
-rw-r--r--include/asm-xtensa/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-xtensa/unistd.h b/include/asm-xtensa/unistd.h
index 2e1a1b997e7d..15b0932523d5 100644
--- a/include/asm-xtensa/unistd.h
+++ b/include/asm-xtensa/unistd.h
@@ -218,6 +218,8 @@
#define SYSXTENSA_COUNT 5 /* count of syscall0 functions*/
+#ifdef __KERNEL__
+
/*
* "Conditional" syscalls
*
@@ -230,6 +232,7 @@
#define __ARCH_WANT_SYS_UTIME
#define __ARCH_WANT_SYS_LLSEEK
#define __ARCH_WANT_SYS_RT_SIGACTION
+
#endif /* __KERNEL__ */
#endif /* _XTENSA_UNISTD_H */