From: robert s. <rob...@gm...> - 2010-04-25 08:25:16
|
>> Problem 2: >> I use the following command to find the definition of >> smp_call_function_many. >> : cs f g smp_call_function_many >> But only the following definition can be found. >> #define smp_call_function_many(mask, func, info, wait) \ >> (up_smp_call_function(func, info)) >> In fact, it's also defined in the same kernel/smp.c file. > > And how is that a problem? : cs f g smp_call_function_many is used to Find the global definition of smp_call_function_many. As it's also contain the func pointer, it can't be found too. void smp_call_function_many(const struct cpumask *mask, void (*func)(void *), void *info, bool wait) Regards, robert |