mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 21:48:49 +00:00
ppc: get rid of the remnants of __get_user64()
When __get_user64() had been removed, its helper (__get_user64_nocheck) got missed. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
f5e6634ec0
commit
7812bf173a
@ -274,21 +274,6 @@ do { \
|
|||||||
__gu_err; \
|
__gu_err; \
|
||||||
})
|
})
|
||||||
|
|
||||||
#ifndef __powerpc64__
|
|
||||||
#define __get_user64_nocheck(x, ptr, size) \
|
|
||||||
({ \
|
|
||||||
long __gu_err; \
|
|
||||||
long long __gu_val; \
|
|
||||||
__typeof__(*(ptr)) __user *__gu_addr = (ptr); \
|
|
||||||
__chk_user_ptr(ptr); \
|
|
||||||
if (!is_kernel_addr((unsigned long)__gu_addr)) \
|
|
||||||
might_fault(); \
|
|
||||||
__get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
|
|
||||||
(x) = (__force __typeof__(*(ptr)))__gu_val; \
|
|
||||||
__gu_err; \
|
|
||||||
})
|
|
||||||
#endif /* __powerpc64__ */
|
|
||||||
|
|
||||||
#define __get_user_check(x, ptr, size) \
|
#define __get_user_check(x, ptr, size) \
|
||||||
({ \
|
({ \
|
||||||
long __gu_err = -EFAULT; \
|
long __gu_err = -EFAULT; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user