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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user