Add u64_to_user_ptr() to the LinuxKPI.

MFC after:	1 week
This commit is contained in:
markj 2017-06-25 19:30:20 +00:00
parent cc928d211a
commit 3a714c6e83

View File

@ -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)
{