|
@@ -99,6 +99,13 @@ static inline int up_smp_call_function(void)
|
|
|
static inline void smp_send_reschedule(int cpu) { }
|
|
|
#define num_booting_cpus() 1
|
|
|
#define smp_prepare_boot_cpu() do {} while (0)
|
|
|
+static inline int smp_call_function_single(int cpuid, void (*func) (void *info),
|
|
|
+ void *info, int retry, int wait)
|
|
|
+{
|
|
|
+ /* Disable interrupts here? */
|
|
|
+ func(info);
|
|
|
+ return 0;
|
|
|
+}
|
|
|
|
|
|
#endif /* !SMP */
|
|
|
|