* [PATCH] mips: Remove prototype for copy_user_page
@ 2015-02-11 21:27 Guenter Roeck
0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2015-02-11 21:27 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, linux-kernel, Guenter Roeck
MIPS architecture code does not provide copy_user_page,
so it should not provide a prototype for it either.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
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(-)
diff --git a/arch/mips/include/asm/page.h b/arch/mips/include/asm/page.h
index 154b70a..89dd7fe 100644
--- 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);
--
2.1.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-11 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-11 21:27 [PATCH] mips: Remove prototype for copy_user_page Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®