History

Merge tag 'hexagon-for-linus-v4.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hexagon fix from Guenter Roeck: "This fixes a build error seen when building hexagon images. Richard sent me an Ack, but didn't reply when asked if he wants me to send the patch to you directly, so I figured I'd just do it" * tag 'hexagon-for-linus-v4.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: hexagon: Use raw_copy_to_user

Linus Torvalds committed 9 years ago

Commit 9d66af62 parents 9d0eb46 4d801cc1 file · +2 −3Browse files

Unified · Split

arch/hexagon/mm/uaccess.c+2−3
@@ -37,15 +37,14 @@ __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count) · 36 unmodified lines
3737 long uncleared;
3838
3939 while (count > PAGE_SIZE) {
40− uncleared = __copy_to_user_hexagon(dest, &empty_zero_page,
41− PAGE_SIZE);
40+ uncleared = raw_copy_to_user(dest, &empty_zero_page, PAGE_SIZE);
4241 if (uncleared)
4342 return count - (PAGE_SIZE - uncleared);
4443 count -= PAGE_SIZE;
4544 dest += PAGE_SIZE;
4645 }
4746 if (count)
48− count = __copy_to_user_hexagon(dest, &empty_zero_page, count);
47+ count = raw_copy_to_user(dest, &empty_zero_page, count);
4948
5049 return count;
5150 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t