]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/sparc/include/asm/uaccess_32.h
uaccess: drop pointless ifdefs
[mirror_ubuntu-artful-kernel.git] / arch / sparc / include / asm / uaccess_32.h
index b10f7d626f0e65df76c810c30787b8ff9e401c77..952d512a64f21ffb32fdfe8d23eed79a1e22fabc 100644 (file)
@@ -7,12 +7,8 @@
 #ifndef _ASM_UACCESS_H
 #define _ASM_UACCESS_H
 
-#ifdef __KERNEL__
 #include <linux/compiler.h>
 #include <linux/string.h>
-#endif
-
-#ifndef __ASSEMBLY__
 
 #include <asm/processor.h>
 
@@ -307,6 +303,4 @@ static inline unsigned long clear_user(void __user *addr, unsigned long n)
 __must_check long strlen_user(const char __user *str);
 __must_check long strnlen_user(const char __user *str, long n);
 
-#endif  /* __ASSEMBLY__ */
-
 #endif /* _ASM_UACCESS_H */