linux-mips
[Top] [All Lists]

[PATCH] mips: Remove prototype for copy_user_page

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] mips: Remove prototype for copy_user_page
From: Guenter Roeck <linux@roeck-us.net>
Date: Wed, 11 Feb 2015 13:27:19 -0800
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=rQ99RwjxhyILYcuRhYNWdql3lqXU5a5wRtbsKrMMDxE=; b=O2lONelcX1ob4Qxxlz/Tq1XBT9YXd0bKCcljrPntTkavQPKL19Fq/7UiQo5fdF2XYb4YPPOdXKTQfmB2QOseIAn+3DSsbxC0zCUJoHT3saETrUmPIy4YY8mMotDxN/J4a5fNeLj8YM8ItlONJiQTW/ZGwzPJFx4L8pI0YfjjZiY=;
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] mips: Remove prototype for copy_user_page, Guenter Roeck <=