Skip to contentSkip to conversation

2.6.11-rc2-mm2 modules can't be loaded correctly!

DISCUSSION Zhonglin Zhang 2 participants 2 messages Feb 2, 2005

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Zhonglin Zhang <[email protected]>
#1 lore raw
Quoted 6 lines · Zhonglin Zhang

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?

include/linux/stop_machine.h renamed from include/linux/stop_machine.h~fix-kallsyms-insmod-rmmod-race-fix-fix-fix +1 -1
@@ -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 */

_