--- zzzz-none-000/linux-2.4.17/include/asm-i386/processor.h 2001-11-22 19:46:19.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/asm-i386/processor.h 2004-11-24 13:21:55.000000000 +0000 @@ -502,7 +502,10 @@ { __asm__ __volatile__ ("prefetchw (%0)" : : "r"(x)); } -#define spin_lock_prefetch(x) prefetchw(x) +#define spin_lock_prefetch(x) do { \ + prefetchw(x); \ + preempt_prefetch(¤t->preempt_count); \ +} while(0) #endif