diff options
-rw-r--r-- | arch/x86/mm/pageattr.c | 2 | ||||
-rw-r--r-- | include/asm-x86/cacheflush.h | 3 |
2 files changed, 3 insertions, 2 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. |
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); |