| Date | Sun, 28 Feb 2010 09:52:34 +1100 | From | Anton Blanchard <> | Subject | [PATCH] workqueue: Fix build on PowerPC |
| |
Fix the following compile error on PowerPC:
include/linux/workqueue.h:66: error: ‘NR_CPUS’ undeclared here (not in a function)
Signed-off-by: Anton Blanchard <anton@samba.org> ---
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 66573b8..5d1d9be 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -9,6 +9,7 @@ #include <linux/linkage.h> #include <linux/bitops.h> #include <linux/lockdep.h> +#include <linux/threads.h> #include <asm/atomic.h> struct workqueue_struct; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|