I checked the other architectures:
smp_call_function is a "portable" function, but it's only implemented for
i386 and alpha.
alpha: implementation identical to i386, they also use schedule().
it's currently used for:
* i386: MTRR.
* alpha: smp tlb flushing.
I'll replace spinlock and schedule() with a normal semaphore and
down()/down_trylock().
Ingo, could you also fix the UP version of smp_call_function in
<linux/smp.h>?
line 84:
- #define smp_call_function(func,info,retry,wait)
+ #define smp_call_function(func,info,retry,wait) (func,info,retry,wait,
0)
-- Manfred
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/