This patch has been verified to apply cleanly to 2.5.30
This patch fixes a build warning in smp.h. register_cpu_notifier uses
struct notifier_block in its argument list. Unfortunately, there are
places where smp.h is included before the definition of this structure.
include/linux/smp.h | 2 ++
1 files changed, 2 insertions
--- orig/include/linux/smp.h Fri Aug 2 21:13:42 2002
+++ linux/include/linux/smp.h Sun Aug 4 13:08:12 2002
@@ -100,6 +100,8 @@
#define per_cpu(var, cpu) var
#define this_cpu(var) var
+struct notifier_block;
+
/* Need to know about CPUs going up/down? */
static inline int register_cpu_notifier(struct notifier_block *nb)
{
-
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/
This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:25 EST