]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/sparc/include/asm/uaccess.h
Merge remote-tracking branches 'spi/topic/adi-v3', 'spi/topic/atmel', 'spi/topic...
[mirror_ubuntu-artful-kernel.git] / arch / sparc / include / asm / uaccess.h
CommitLineData
f5e706ad
SR
1#ifndef ___ASM_SPARC_UACCESS_H
2#define ___ASM_SPARC_UACCESS_H
3#if defined(__sparc__) && defined(__arch64__)
a439fe51 4#include <asm/uaccess_64.h>
f5e706ad 5#else
a439fe51 6#include <asm/uaccess_32.h>
f5e706ad 7#endif
ff06dffb 8
35c96460 9#define user_addr_max() \
c5389831 10 (segment_eq(get_fs(), USER_DS) ? TASK_SIZE : ~0UL)
35c96460 11
f05a6865 12long strncpy_from_user(char *dest, const char __user *src, long count);
ff06dffb 13
1da177e4 14#endif