From a9944c6aace6fb89d4d726282ea5cb2c9c3484b0 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 22 Nov 2005 14:38:04 -0800 Subject: [PATCH] --- yaml --- r: 14631 b: refs/heads/master c: af2b4079ab154bd12e8c12b02db5f31b31babe63 h: refs/heads/master i: 14629: 0ff5fc028387c4a25171513d9738da19690ddf0f 14627: 1e66a88dfa245c33b770f165c709830bbe705d1b 14623: 80d473d5f8360ee52090ca441374d91b55877317 v: v3 --- [refs] | 2 +- trunk/include/linux/smp.h | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index bf30633fec0e..1712362ed9db 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b3a5225f31180322fd7d692fd4cf786702826b94 +refs/heads/master: af2b4079ab154bd12e8c12b02db5f31b31babe63 diff --git a/trunk/include/linux/smp.h b/trunk/include/linux/smp.h index 9dfa3ee769ae..b6069c8e1f04 100644 --- a/trunk/include/linux/smp.h +++ b/trunk/include/linux/smp.h @@ -94,7 +94,13 @@ void smp_prepare_boot_cpu(void); */ #define raw_smp_processor_id() 0 #define hard_smp_processor_id() 0 -#define smp_call_function(func,info,retry,wait) ({ 0; }) + +static inline int smp_call_function(void (*func) (void *info), void *info, + int retry, int wait) +{ + return 0; +} + #define on_each_cpu(func,info,retry,wait) ({ func(info); 0; }) static inline void smp_send_reschedule(int cpu) { } #define num_booting_cpus() 1