diff options
| author | Paul Mackerras <paulus@samba.org> | 2002-04-14 23:30:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-14 23:30:27 -0700 |
| commit | 0a96b71ada63db41b512e33491c5d94353448fb9 (patch) | |
| tree | be7d21a5834dbcabe1a8b2b25c3132a8d470eac3 /include/linux/smp.h | |
| parent | 0a6866772f7f8ce74673726f6530cccb71baefca (diff) | |
[PATCH] fix include/linux/smp.h
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).
Diffstat (limited to 'include/linux/smp.h')
| -rw-r--r-- | include/linux/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index 8fa9b49f0961..85c6273694c9 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h @@ -12,6 +12,7 @@ #include <linux/kernel.h> #include <linux/compiler.h> +#include <linux/threads.h> #include <asm/smp.h> /* |
