From c8404b7e1880edeca3421f1d478f697c15985d3e Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 9 Nov 2007 22:39:38 +0100 Subject: [PATCH] --- yaml --- r: 73401 b: refs/heads/master c: a5fbb6d1064be885d2a6b82f625186753cf74848 h: refs/heads/master i: 73399: 7a98f08579b0fd1d1663d83a3a0d4938da5afa7b v: v3 --- [refs] | 2 +- trunk/include/linux/smp.h | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 94c6470994f1..fdd6df61e896 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0492007ed9b53f6a2a2f983910d0fe7c97b09822 +refs/heads/master: a5fbb6d1064be885d2a6b82f625186753cf74848 diff --git a/trunk/include/linux/smp.h b/trunk/include/linux/smp.h index 259a13c3bd98..c25e66bcecf3 100644 --- a/trunk/include/linux/smp.h +++ b/trunk/include/linux/smp.h @@ -84,11 +84,12 @@ void smp_prepare_boot_cpu(void); * These macros fold the SMP functionality into a single CPU system */ #define raw_smp_processor_id() 0 -static inline int up_smp_call_function(void) +static inline int up_smp_call_function(void (*func)(void *), void *info) { return 0; } -#define smp_call_function(func,info,retry,wait) (up_smp_call_function()) +#define smp_call_function(func, info, retry, wait) \ + (up_smp_call_function(func, info)) #define on_each_cpu(func,info,retry,wait) \ ({ \ local_irq_disable(); \ @@ -107,6 +108,8 @@ static inline void smp_send_reschedule(int cpu) { } local_irq_enable(); \ 0; \ }) +#define smp_call_function_mask(mask, func, info, wait) \ + (up_smp_call_function(func, info)) #endif /* !SMP */