X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fhexagon%2Fmm%2Fuaccess.c;h=c599eb126c9e7be9a3324744297f562ad743e97a;hb=f69d64deedc19ed1345d5e75176671a84e0cccdc;hp=ec90afdb3ad084e999e6980077aff846564f7b7c;hpb=fbf3d36cb4c960b27b9c2e391d24127c5ec17a3a;p=karo-tx-linux.git diff --git a/arch/hexagon/mm/uaccess.c b/arch/hexagon/mm/uaccess.c index ec90afdb3ad0..c599eb126c9e 100644 --- a/arch/hexagon/mm/uaccess.c +++ b/arch/hexagon/mm/uaccess.c @@ -37,15 +37,14 @@ __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count) long uncleared; while (count > PAGE_SIZE) { - uncleared = __copy_to_user_hexagon(dest, &empty_zero_page, - PAGE_SIZE); + uncleared = raw_copy_to_user(dest, &empty_zero_page, PAGE_SIZE); if (uncleared) return count - (PAGE_SIZE - uncleared); count -= PAGE_SIZE; dest += PAGE_SIZE; } if (count) - count = __copy_to_user_hexagon(dest, &empty_zero_page, count); + count = raw_copy_to_user(dest, &empty_zero_page, count); return count; }