patch-2.4.27 linux-2.4.27/arch/i386/mm/pageattr.c

Next file: linux-2.4.27/arch/ia64/configs/dig
Previous file: linux-2.4.27/arch/i386/mm/fault.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/arch/i386/mm/pageattr.c linux-2.4.27/arch/i386/mm/pageattr.c
@@ -52,11 +52,9 @@
 
 static void flush_kernel_map(void * address) 
 { 
-	if (!test_bit(X86_FEATURE_SELFSNOOP, boot_cpu_data.x86_capability)) {
-		/* Could use CLFLUSH here if the CPU supports it (Hammer,P4) */
-		if (boot_cpu_data.x86_model >= 4) 
-			asm volatile("wbinvd":::"memory"); 	
-	} 
+	/* Could use CLFLUSH here if the CPU supports it (Hammer,P4) */
+	if (boot_cpu_data.x86_model >= 4) 
+		asm volatile("wbinvd":::"memory"); 	
 
 	/* Do global flush here to work around large page flushing errata 
 	   in some early Athlons */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)