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>
This commit is contained in:
committed by
Ingo Molnar
parent
6d238cc4dc
commit
e1271f686a
@ -25,7 +25,8 @@
|
||||
memcpy(dst, src, len)
|
||||
|
||||
void global_flush_tlb(void);
|
||||
int change_page_attr(struct page *page, int numpages, pgprot_t prot);
|
||||
int __deprecated_for_modules change_page_attr(struct page *page, int numpages,
|
||||
pgprot_t prot);
|
||||
int change_page_attr_addr(unsigned long addr, int numpages, pgprot_t prot);
|
||||
|
||||
int set_pages_uc(struct page *page, int numpages);
|
||||
|
Reference in New Issue
Block a user