Add u64_to_user_ptr() to the LinuxKPI.
MFC after: 1 week
This commit is contained in:
parent
1fde37964d
commit
ee7c3198cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320337
@ -260,6 +260,8 @@ scnprintf(char *buf, size_t size, const char *fmt, ...)
|
||||
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
#define u64_to_user_ptr(val) ((void *)(uintptr_t)(val))
|
||||
|
||||
static inline unsigned long long
|
||||
simple_strtoull(const char *cp, char **endp, unsigned int base)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user