diff options
author | Arjan van de Ven <arjan@infradead.org> | 2008-01-30 07:34:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:06 -0500 |
commit | e1271f686a0e376aa6ee97984c16f91a787e4480 (patch) | |
tree | 8ae96875b8b1a09283d4b26ddba9015f15f821e9 /arch/x86/mm/pageattr.c | |
parent | 6d238cc4dc8a36a3915c26202fe49f58a0683fb9 (diff) |
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 <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/pageattr.c')
-rw-r--r-- | arch/x86/mm/pageattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index f3c9510b8d92..19f7f7a0b36f 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) | |||
284 | 284 | ||
285 | return change_page_attr_addr(addr, numpages, prot); | 285 | return change_page_attr_addr(addr, numpages, prot); |
286 | } | 286 | } |
287 | EXPORT_SYMBOL(change_page_attr); | 287 | EXPORT_UNUSED_SYMBOL(change_page_attr); /* to be removed in 2.6.27 */ |
288 | 288 | ||
289 | /** | 289 | /** |
290 | * change_page_attr_set - Change page table attributes in the linear mapping. | 290 | * change_page_attr_set - Change page table attributes in the linear mapping. |