Hi, Andrew
Could you please check it ? I have worked out my little patch to fix
it. But not any feedback. Is it ok in your machine which is not-SMP?
Regards
--
Zhonglin Zhang <[email protected]>
Zhonglin Zhang <[email protected]> wrote:
>
> Hi, Andrew
>
> Could you please check it ? I have worked out my little patch to fix
> it. But not any feedback. Is it ok in your machine which is not-SMP?
>
--- 25/include/linux/stop_machine.h~fix-kallsyms-insmod-rmmod-race-fix-fix-fix 2005-01-29 16:17:47.936137064 -0800
+++ 25-akpm/include/linux/stop_machine.h 2005-01-29 16:18:09.493859792 -0800
@@ -57,7 +57,7 @@ static inline int stop_machine_run(int (
static inline int stop_machine_run(int (*fn)(void *), void *data,
unsigned int cpu)
{
- return 0;
+ return fn(data);
}
#endif /* CONFIG_STOP_MACHINE */
_