projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c057b3
)
MIPS: Remove prototype for copy_user_page
author
Guenter Roeck
<
[email protected]
>
Wed, 11 Feb 2015 21:27:19 +0000
(13:27 -0800)
committer
Ralf Baechle
<
[email protected]
>
Thu, 2 Apr 2015 11:54:18 +0000
(13:54 +0200)
MIPS architecture code does not provide copy_user_page,
so it should not provide a prototype for it either.
Signed-off-by: Guenter Roeck <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/9266/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/include/asm/page.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/page.h
b/arch/mips/include/asm/page.h
index 154b70a104837ee7b63ffb817f413635962389d7..89dd7fed1a570cf312e74b9216342fa6abbfdf22 100644
(file)
--- a/
arch/mips/include/asm/page.h
+++ b/
arch/mips/include/asm/page.h
@@
-105,8
+105,6
@@
static inline void clear_user_page(void *addr, unsigned long vaddr,
flush_data_cache_page((unsigned long)addr);
}
-extern void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
- struct page *to);
struct vm_area_struct;
extern void copy_user_highpage(struct page *to, struct page *from,
unsigned long vaddr, struct vm_area_struct *vma);