diff options
| author | Russell King <rmk@arm.linux.org.uk> | 2002-08-10 02:44:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-08-10 02:44:30 -0700 |
| commit | 0e2774ebdced0540f209b838b40f12397168d7fc (patch) | |
| tree | 0315ee32594f146716a73c70910db941c10345d2 /include/linux/smp.h | |
| parent | 66431f4b27fcd31fcc658b461c4d3879ae6686ff (diff) | |
[PATCH] build warning fix
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.
Diffstat (limited to 'include/linux/smp.h')
| -rw-r--r-- | include/linux/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index df77d136f5e2..9c6edbd8e6ec 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h @@ -100,6 +100,8 @@ static inline void smp_send_reschedule_all(void) { } #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) { |
