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
- Lines: 15
- Date:
2004-08-07 16:26:04.558342833 -0700
- Orig file:
linux-2.4.26/arch/i386/mm/pageattr.c
- Orig date:
2002-11-28 15:53:09.000000000 -0800
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)