diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-14 14:18:49 +0200 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-08-14 22:05:14 -0400 |
commit | e12b090eae6ac3b18f42673a4b0fef6e61b63cac (patch) | |
tree | 3ad2566629692a3a063356ebbc6ce36218eb8ab9 /arch/sh/include/asm/futex.h | |
parent | sh: sort the selects for SUPERH alphabetically (diff) | |
download | linux-dev-e12b090eae6ac3b18f42673a4b0fef6e61b63cac.tar.xz linux-dev-e12b090eae6ac3b18f42673a4b0fef6e61b63cac.zip |
sh: remove __KERNEL__ ifdefs from non-UAPI headers
There is no point in having __KERNEL__ ifdefs in headers not exported to
userspace.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/include/asm/futex.h')
-rw-r--r-- | arch/sh/include/asm/futex.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/include/asm/futex.h b/arch/sh/include/asm/futex.h index b39cda09fb95..b70f3fce6ed7 100644 --- a/arch/sh/include/asm/futex.h +++ b/arch/sh/include/asm/futex.h @@ -2,8 +2,6 @@ #ifndef __ASM_SH_FUTEX_H #define __ASM_SH_FUTEX_H -#ifdef __KERNEL__ - #include <linux/futex.h> #include <linux/uaccess.h> #include <asm/errno.h> @@ -71,5 +69,4 @@ static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, return ret; } -#endif /* __KERNEL__ */ #endif /* __ASM_SH_FUTEX_H */ |