sh: Tidy up various clear_page()/copy_page() definitions.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
此提交包含在:
@@ -14,12 +14,12 @@
|
||||
#include <linux/string.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
void copy_page_nommu(void *to, void *from)
|
||||
void copy_page(void *to, void *from)
|
||||
{
|
||||
memcpy(to, from, PAGE_SIZE);
|
||||
}
|
||||
|
||||
void clear_page_nommu(void *to)
|
||||
void clear_page(void *to)
|
||||
{
|
||||
memset(to, 0, PAGE_SIZE);
|
||||
}
|
||||
|
新增問題並參考
封鎖使用者