mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
f05a68653e
Drop extern for all prototypes and adjust alignment of parameters as required after the removal. In a few rare cases adjust linelength to conform to maximum 80 chars, and likewise in a few rare cases adjust alignment of parameters to static functions. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
337 B
C
15 lines
337 B
C
#ifndef ___ASM_SPARC_UACCESS_H
|
|
#define ___ASM_SPARC_UACCESS_H
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
#include <asm/uaccess_64.h>
|
|
#else
|
|
#include <asm/uaccess_32.h>
|
|
#endif
|
|
|
|
#define user_addr_max() \
|
|
(segment_eq(get_fs(), USER_DS) ? TASK_SIZE : ~0UL)
|
|
|
|
long strncpy_from_user(char *dest, const char __user *src, long count);
|
|
|
|
#endif
|