diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-28 00:19:09 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-06 03:57:58 +0100 |
commit | 444f02c458db00bd6049cc1bfe4254e80f57459e (patch) | |
tree | 921c8bc78c91946fc45e2f6facb17b7c1e487632 /arch/cris | |
parent | uaccess: drop duplicate includes from asm/uaccess.h (diff) | |
download | linux-444f02c458db00bd6049cc1bfe4254e80f57459e.tar.xz 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/cris')
-rw-r--r-- | arch/cris/include/asm/uaccess.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/cris/include/asm/uaccess.h b/arch/cris/include/asm/uaccess.h index bb3004a2b2f7..c2462ef04eaf 100644 --- a/arch/cris/include/asm/uaccess.h +++ b/arch/cris/include/asm/uaccess.h @@ -15,7 +15,6 @@ #ifndef _CRIS_UACCESS_H #define _CRIS_UACCESS_H -#ifndef __ASSEMBLY__ #include <asm/processor.h> #include <asm/page.h> @@ -411,6 +410,4 @@ __generic_clear_user_nocheck(void __user *to, unsigned long n) #define strlen_user(str) strnlen_user((str), 0x7ffffffe) -#endif /* __ASSEMBLY__ */ - #endif /* _CRIS_UACCESS_H */ |