mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 3: 2.5.30-smph
@ 2002-08-04 19:14 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2002-08-04 19:14 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-04 19:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-04 19:14 [PATCH] 3: 2.5.30-smph Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®