
rdunlap at xenotime
Aug 7, 2006, 2:10 PM
Post #1 of 4
(564 views)
Permalink
|
|
[PATCH 5/9] Replace ARCH_HAS_FLUSH_ANON_PAGE with CONFIG_ARCH_FLUSH_ANON_PAGE
|
|
From: Randy Dunlap <rdunlap [at] xenotime> Replace ARCH_HAS_FLUSH_ANON_PAGE with CONFIG_ARCH_FLUSH_ANON_PAGE. Signed-off-by: Randy Dunlap <rdunlap [at] xenotime> --- arch/parisc/Kconfig | 3 +++ include/asm-parisc/cacheflush.h | 1 - include/linux/highmem.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) --- linux-2618-rc4-arch.orig/include/asm-parisc/cacheflush.h +++ linux-2618-rc4-arch/include/asm-parisc/cacheflush.h @@ -189,7 +189,6 @@ flush_anon_page(struct page *page, unsig if (PageAnon(page)) flush_user_dcache_page(vmaddr); } -#define ARCH_HAS_FLUSH_ANON_PAGE static inline void flush_kernel_dcache_page(struct page *page) --- linux-2618-rc4-arch.orig/include/linux/highmem.h +++ linux-2618-rc4-arch/include/linux/highmem.h @@ -6,7 +6,7 @@ #include <asm/cacheflush.h> -#ifndef ARCH_HAS_FLUSH_ANON_PAGE +#ifndef CONFIG_ARCH_FLUSH_ANON_PAGE static inline void flush_anon_page(struct page *page, unsigned long vmaddr) { } --- linux-2618-rc4-arch.orig/arch/parisc/Kconfig +++ linux-2618-rc4-arch/arch/parisc/Kconfig @@ -16,6 +16,9 @@ config PARISC config MMU def_bool y +config ARCH_FLUSH_ANON_PAGE + def_bool y + config STACK_GROWSUP def_bool y --- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo [at] vger More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|