public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.11-rc2-mm2 modules can't be loaded correctly!
@ 2005-02-02  1:53 Zhonglin Zhang
  2005-02-02  7:29 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Zhonglin Zhang @ 2005-02-02  1:53 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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 <zhonglinzh@mobilesoft.com.cn>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.11-rc2-mm2 modules can't be loaded correctly!
  2005-02-02  1:53 2.6.11-rc2-mm2 modules can't be loaded correctly! Zhonglin Zhang
@ 2005-02-02  7:29 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-02-02  7:29 UTC (permalink / raw)
  To: Zhonglin Zhang; +Cc: linux-kernel

Zhonglin Zhang <zhonglinzh@mobilesoft.com.cn> 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 */
_


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-02  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02  1:53 2.6.11-rc2-mm2 modules can't be loaded correctly! Zhonglin Zhang
2005-02-02  7:29 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox