Re: 2.6.0-test4: Unable to handle kernel NULL pointer dereference

From: Hollis Blanchard
Date: Fri Aug 29 2003 - 09:18:32 EST


On Thursday, Aug 28, 2003, at 15:10 US/Central, Andrew Morton wrote:

--- 25/include/asm-i386/processor.h~disable-athlon-prefetch 2003-08-23 13:48:16.000000000 -0700
+++ 25-akpm/include/asm-i386/processor.h 2003-08-23 13:48:16.000000000 -0700
@@ -578,6 +578,8 @@ static inline void rep_nop(void)
#define ARCH_HAS_PREFETCH
extern inline void prefetch(const void *x)
{
+ if (cpu_data[0].x86_vendor == X86_VENDOR_AMD)
+ return;
alternative_input(ASM_NOP4,
"prefetchnta (%1)",
X86_FEATURE_XMM,

Without a comment explaining the problem?

--
Hollis Blanchard
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/