x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / sparc / include / asm / uaccess.h
blobbd56c28fff9fea8cdec3e98fe7e155a61f1d55bb
1 #ifndef ___ASM_SPARC_UACCESS_H
2 #define ___ASM_SPARC_UACCESS_H
3 #if defined(__sparc__) && defined(__arch64__)
4 #include <asm/uaccess_64.h>
5 #else
6 #include <asm/uaccess_32.h>
7 #endif
9 #define user_addr_max() \
10 (segment_eq(get_fs(), USER_DS) ? TASK_SIZE : ~0UL)
12 long strncpy_from_user(char *dest, const char __user *src, long count);
14 #endif