From e1271f686a0e376aa6ee97984c16f91a787e4480 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Wed, 30 Jan 2008 13:34:06 +0100 Subject: x86: deprecate change_page_attr() for drivers With the introduction of the new API, no driver or non-archcore code needs to use c-p-a anymore, so this patch also deprecates the EXPORT_SYMBOL of CPA (it's a horrible API after all). Signed-off-by: Arjan van de Ven Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- arch/x86/mm/pageattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index f3c9510b8d9..19f7f7a0b36 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c @@ -284,7 +284,7 @@ int change_page_attr(struct page *page, int numpages, pgprot_t prot) return change_page_attr_addr(addr, numpages, prot); } -EXPORT_SYMBOL(change_page_attr); +EXPORT_UNUSED_SYMBOL(change_page_attr); /* to be removed in 2.6.27 */ /** * change_page_attr_set - Change page table attributes in the linear mapping. -- cgit v1.2.3-70-g09d2