diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-27 18:19:09 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-05 21:57:58 -0500 |
commit | 444f02c458db00bd6049cc1bfe4254e80f57459e (patch) | |
tree | 921c8bc78c91946fc45e2f6facb17b7c1e487632 /arch/microblaze | |
parent | af1d5b37d6211c814fac0d5d0b71ec695618054a (diff) | |
download | talos-op-linux-444f02c458db00bd6049cc1bfe4254e80f57459e.tar.gz talos-op-linux-444f02c458db00bd6049cc1bfe4254e80f57459e.zip |
uaccess: drop pointless ifdefs
None of those file is ever included from uapi stuff, so __KERNEL__
is always defined. None of them is ever included from assembler
(they are only pulled from linux/uaccess.h, which _can't_ be
included from assembler), so __ASSEMBLY__ is never defined.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/uaccess.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/microblaze/include/asm/uaccess.h b/arch/microblaze/include/asm/uaccess.h index a3c0a06d7848..b132cd301e66 100644 --- a/arch/microblaze/include/asm/uaccess.h +++ b/arch/microblaze/include/asm/uaccess.h @@ -11,9 +11,6 @@ #ifndef _ASM_MICROBLAZE_UACCESS_H #define _ASM_MICROBLAZE_UACCESS_H -#ifdef __KERNEL__ -#ifndef __ASSEMBLY__ - #include <linux/kernel.h> #include <linux/mm.h> @@ -417,7 +414,4 @@ static inline long strnlen_user(const char __user *src, long n) return __strnlen_user(src, n); } -#endif /* __ASSEMBLY__ */ -#endif /* __KERNEL__ */ - #endif /* _ASM_MICROBLAZE_UACCESS_H */ |