Skip to contentSkip to conversation

3: 2.5.30-smph

PATCH New Russell King 1 participant 1 message Aug 4, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 3: 2.5.30-smph

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
include/linux/smp.h +2 -0
@@ -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)
 {