Re: Fw: Re: 2.6.11-rc2-mm2

From: Andrew Morton
Date: Mon Jan 31 2005 - 02:24:24 EST


Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> It seems -mm2 definitely has some problems regarding loading of modules,

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/