lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 7 Aug 2006 14:10:08 -0700
From:	"Randy.Dunlap" <rdunlap@...otime.net>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	akpm <akpm@...l.org>, torvalds <torvalds@...l.org>, matthew@....cx,
	kyle@...isc-linux.org
Subject: [PATCH 5/9] Replace ARCH_HAS_FLUSH_ANON_PAGE with
 CONFIG_ARCH_FLUSH_ANON_PAGE

From: Randy Dunlap <rdunlap@...otime.net>

Replace ARCH_HAS_FLUSH_ANON_PAGE with CONFIG_ARCH_FLUSH_ANON_PAGE.

Signed-off-by: Randy Dunlap <rdunlap@...otime.net>
---
 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ