Skip to contentSkip to conversation

mips: Remove prototype for copy_user_page

PATCH New Guenter Roeck 1 participant 1 message Feb 11, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: Remove prototype for copy_user_page

MIPS architecture code does not provide copy_user_page, so it should not provide a prototype for it either.

---
If we don't want to support copy_user_page, as sugegsted elsewhere, we should at least remove its prototype.

 arch/mips/include/asm/page.h | 2 --
 1 file changed, 2 deletions(-)
arch/mips/include/asm/page.h +0 -2
index 154b70a..89dd7fe 100644
@@ -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);
Signature · 1 line
2.1.0