mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]>
This commit is contained in:
parent
af1d5b37d6
commit
444f02c458
5 changed files with 0 additions and 27 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue