Re: make modules_install problem in 2.6.0-rc1-mm1

From: Andrew Morton
Date: Sun Jan 04 2004 - 16:09:04 EST


Thomas Molina <tmolina@xxxxxxxxxxxxxx> wrote:
>
> I get the following message when compiling profile suport into
> 2.6.0-rc1-mm1:
>
> WARNING: /lib/modules/2.6.1-rc1-mm1/kernel/arch/i386/oprofile/oprofile.ko needs unknown symbol cpu_possible

This should fix it.

--- 25/drivers/oprofile/oprofile_stats.c~for_each_cpu-oprofile-fix 2004-01-01 11:52:30.000000000 -0800
+++ 25-akpm/drivers/oprofile/oprofile_stats.c 2004-01-01 11:52:30.000000000 -0800
@@ -8,7 +8,7 @@
*/

#include <linux/oprofile.h>
-#include <linux/smp.h>
+#include <linux/cpumask.h>
#include <linux/threads.h>

#include "oprofile_stats.h"

_

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