aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/futex.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-05-06 13:07:26 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2019-05-06 17:48:54 -0700
commit8e65986dcae8c49501c1920064dc192e704248bb (patch)
tree188145ceb49a9025647a4a354d600c12a8f02a0c /arch/xtensa/include/asm/futex.h
parentxtensa: set proper error code for simdisk_setup() (diff)
downloadlinux-dev-8e65986dcae8c49501c1920064dc192e704248bb.tar.xz
linux-dev-8e65986dcae8c49501c1920064dc192e704248bb.zip
xtensa: drop ifdef __KERNEL__ from kernel-only headers
These headers are not exported to userspace, so they're never used without __KERNEL__ defined. Drop these ifdef statements. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/futex.h')
-rw-r--r--arch/xtensa/include/asm/futex.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/xtensa/include/asm/futex.h b/arch/xtensa/include/asm/futex.h
index 505d09eff184..0fd58b7521aa 100644
--- a/arch/xtensa/include/asm/futex.h
+++ b/arch/xtensa/include/asm/futex.h
@@ -15,8 +15,6 @@
#ifndef _ASM_XTENSA_FUTEX_H
#define _ASM_XTENSA_FUTEX_H
-#ifdef __KERNEL__
-
#include <linux/futex.h>
#include <linux/uaccess.h>
#include <linux/errno.h>
@@ -123,5 +121,4 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
return ret;
}
-#endif /* __KERNEL__ */
#endif /* _ASM_XTENSA_FUTEX_H */