mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix include/linux/smp.h
@ 2002-04-04  3:52 Paul Mackerras
  0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2002-04-04  3:52 UTC (permalink / raw)
  To: torvalds, linux-kernel; +Cc: trivial

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.

diff -urN linux-2.5/include/linux/smp.h pmac-2.5/include/linux/smp.h
--- linux-2.5/include/linux/smp.h	Sat Mar  9 22:26:16 2002
+++ pmac-2.5/include/linux/smp.h	Sat Mar 16 11:08:49 2002
@@ -12,6 +12,7 @@
 
 #include <linux/kernel.h>
 #include <linux/compiler.h>
+#include <linux/threads.h>
 #include <asm/smp.h>
 
 /*

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

only message in thread, other threads:[~2002-04-04  3:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-04  3:52 [PATCH] fix include/linux/smp.h Paul Mackerras

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®