public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Zhonglin Zhang <zhonglinzh@mobilesoft.com.cn>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.11-rc2-mm2 modules can't be loaded correctly!
Date: Tue, 1 Feb 2005 23:29:24 -0800	[thread overview]
Message-ID: <20050201232924.0610dc96.akpm@osdl.org> (raw)
In-Reply-To: <1107309228.677.5.camel@milo>

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 */
_


      reply	other threads:[~2005-02-02  4:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050201232924.0610dc96.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zhonglinzh@mobilesoft.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox