fix include/linux/smp.h
PATCH 1/1 fix include/linux/smp.h
Linus,
This patch adds #include <linux/threads.h> to include/linux/smp.h, because it (smp.h) needs the definition of NR_CPUS. (It so happens that include/asm-i386/smp.h includes <linux/threads.h>, but IMHO include/linux/smp.h shouldn't rely on that).
Please apply this patch to your 2.5 tree.
Paul.
include/linux/smp.h +1 -0
@@ -12,6 +12,7 @@#include <linux/kernel.h> #include <linux/compiler.h> +#include <linux/threads.h> #include <asm/smp.h> /*