xref: /linux/arch/sparc/include/asm/uaccess.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2a439fe51SSam Ravnborg #ifndef ___ASM_SPARC_UACCESS_H
3a439fe51SSam Ravnborg #define ___ASM_SPARC_UACCESS_H
4*b4edf06cSAl Viro 
5*b4edf06cSAl Viro #include <asm/extable.h>
6*b4edf06cSAl Viro 
7a439fe51SSam Ravnborg #if defined(__sparc__) && defined(__arch64__)
8a439fe51SSam Ravnborg #include <asm/uaccess_64.h>
9a439fe51SSam Ravnborg #else
10a439fe51SSam Ravnborg #include <asm/uaccess_32.h>
11a439fe51SSam Ravnborg #endif
12ff06dffbSDavid S. Miller 
13f05a6865SSam Ravnborg long strncpy_from_user(char *dest, const char __user *src, long count);
14ff06dffbSDavid S. Miller 
15a439fe51SSam Ravnborg #endif
16