diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-17 11:36:59 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-17 11:36:59 -0400 |
| commit | dd504ea16f34a29da4aa933ae7ab917fcfd25fd7 (patch) | |
| tree | 0502645dc159be29c33c992e9e56dc3156074279 /include/linux/smp.h | |
| parent | 5cf4cf65a8ccca44ec9b357ebdb2b517269d7e8a (diff) | |
| parent | 0479ea0eab197b3e5d4c731f526c02e5e3fbfbd0 (diff) | |
Merge branch 'master' of /home/trondmy/repositories/git/linux-2.6/
Diffstat (limited to 'include/linux/smp.h')
| -rw-r--r-- | include/linux/smp.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index 3f70149eabbb..96ac21f8dd73 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | * Alan Cox. <alan@redhat.com> | 6 | * Alan Cox. <alan@redhat.com> |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/errno.h> | ||
| 9 | 10 | ||
| 10 | extern void cpu_idle(void); | 11 | extern void cpu_idle(void); |
| 11 | 12 | ||
| @@ -99,11 +100,9 @@ static inline void smp_send_reschedule(int cpu) { } | |||
| 99 | #define num_booting_cpus() 1 | 100 | #define num_booting_cpus() 1 |
| 100 | #define smp_prepare_boot_cpu() do {} while (0) | 101 | #define smp_prepare_boot_cpu() do {} while (0) |
| 101 | static inline int smp_call_function_single(int cpuid, void (*func) (void *info), | 102 | static inline int smp_call_function_single(int cpuid, void (*func) (void *info), |
| 102 | void *info, int retry, int wait) | 103 | void *info, int retry, int wait) |
| 103 | { | 104 | { |
| 104 | /* Disable interrupts here? */ | 105 | return -EBUSY; |
| 105 | func(info); | ||
| 106 | return 0; | ||
| 107 | } | 106 | } |
| 108 | 107 | ||
| 109 | #endif /* !SMP */ | 108 | #endif /* !SMP */ |
