From: Adrian Bunk In file included from /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/bitops.h:17, from /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/kernel.h:15, from /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/sched.h:50, from /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/arch/alpha/kernel/asm-offsets.c:9: include2/asm/bitops.h: In function 'clear_bit_unlock': include2/asm/bitops.h:75: error: implicit declaration of function 'smp_mb' make[2]: *** [arch/alpha/kernel/asm-offsets.s] Error 1 Signed-off-by: Adrian Bunk Cc: Nick Piggin Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton --- include/asm-alpha/bitops.h | 1 + 1 file changed, 1 insertion(+) diff -puN include/asm-alpha/bitops.h~alpha-lock-bitops-fix include/asm-alpha/bitops.h --- a/include/asm-alpha/bitops.h~alpha-lock-bitops-fix +++ a/include/asm-alpha/bitops.h @@ -6,6 +6,7 @@ #endif #include +#include /* * Copyright 1994, Linus Torvalds. _