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 /include/asm-x86 | |
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 'include/asm-x86')
-rw-r--r-- | include/asm-x86/cacheflush.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/cacheflush.h b/include/asm-x86/cacheflush.h index 7b928d55c190..e79159bc0987 100644 --- a/include/asm-x86/cacheflush.h +++ b/include/asm-x86/cacheflush.h | |||
@@ -25,7 +25,8 @@ | |||
25 | memcpy(dst, src, len) | 25 | memcpy(dst, src, len) |
26 | 26 | ||
27 | void global_flush_tlb(void); | 27 | void global_flush_tlb(void); |
28 | int change_page_attr(struct page *page, int numpages, pgprot_t prot); | 28 | int __deprecated_for_modules change_page_attr(struct page *page, int numpages, |
29 | pgprot_t prot); | ||
29 | int change_page_attr_addr(unsigned long addr, int numpages, pgprot_t prot); | 30 | int change_page_attr_addr(unsigned long addr, int numpages, pgprot_t prot); |
30 | 31 | ||
31 | int set_pages_uc(struct page *page, int numpages); | 32 | int set_pages_uc(struct page *page, int numpages); |