diff options
Diffstat (limited to 'arch/sparc/include/asm/uaccess.h')
-rw-r--r-- | arch/sparc/include/asm/uaccess.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/uaccess.h b/arch/sparc/include/asm/uaccess.h index 42a28cfd941f..20c2acb06332 100644 --- a/arch/sparc/include/asm/uaccess.h +++ b/arch/sparc/include/asm/uaccess.h | |||
@@ -6,6 +6,9 @@ | |||
6 | #include <asm/uaccess_32.h> | 6 | #include <asm/uaccess_32.h> |
7 | #endif | 7 | #endif |
8 | 8 | ||
9 | #define user_addr_max() \ | ||
10 | (segment_eq(get_fs(), USER_DS) ? STACK_TOP : ~0UL) | ||
11 | |||
9 | extern long strncpy_from_user(char *dest, const char __user *src, long count); | 12 | extern long strncpy_from_user(char *dest, const char __user *src, long count); |
10 | 13 | ||
11 | #endif | 14 | #endif |