aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/parisc/include/asm/futex.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-10-17 18:56:00 +0200
committerHelge Deller <deller@gmx.de>2021-11-01 07:36:00 +0100
commit0760a9157bc93f660256f7014b936c584f3f8fdd (patch)
tree366b0dc41474024eaba250ffac1a4e1e357b23d3 /arch/parisc/include/asm/futex.h
parentparisc: Use PRIV_USER and PRIV_KERNEL in ptrace.h (diff)
downloadwireguard-linux-0760a9157bc93f660256f7014b936c584f3f8fdd.tar.xz
wireguard-linux-0760a9157bc93f660256f7014b936c584f3f8fdd.zip
parisc: Drop ifdef __KERNEL__ from non-uapi kernel headers
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/futex.h')
-rw-r--r--arch/parisc/include/asm/futex.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/futex.h b/arch/parisc/include/asm/futex.h
index fceb9cf02fb3..e38a118cf65d 100644
--- a/arch/parisc/include/asm/futex.h
+++ b/arch/parisc/include/asm/futex.h
@@ -2,8 +2,6 @@
#ifndef _ASM_PARISC_FUTEX_H
#define _ASM_PARISC_FUTEX_H
-#ifdef __KERNEL__
-
#include <linux/futex.h>
#include <linux/uaccess.h>
#include <asm/atomic.h>
@@ -119,5 +117,4 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
return 0;
}
-#endif /*__KERNEL__*/
#endif /*_ASM_PARISC_FUTEX_H*/