[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ea470501002010557o45bad81cp5d9ac3d19318bffe@mail.gmail.com>
Date: Mon, 1 Feb 2010 14:57:01 +0100
From: Borislav Petkov <petkovbb@...glemail.com>
To: zhiyi <zhuang@...otago.ac.nz>
Cc: linux-kernel@...r.kernel.org, Zhiyi Huang <hzy@...otago.ac.nz>,
jkmair@...otago.ac.nz
Subject: Re: nr_cpu_ids incorrect on AMD Quad-Core Opteron 8380
On Sun, Jan 31, 2010 at 11:59 PM, zhiyi <zhuang@...otago.ac.nz> wrote:
> My module worked for a kernel 2.6.29 with CONFIG_NR_CPUS=64 on my dual
> quad-core AMD Opteron. The value of nr_cpu_ids I got from the same module
> was correct (8).
This could mean that your include/generated/autoconf.h, which is used by
external modules, is not updated and contains CONFIG_NR_CPUS=8. Do
make mrproper
in your kernel directory by moving your .config out of the way first and
then rebuild your kernel and external module(s). nr_cpu_ids should pick
up the updated CONFIG_NR_CPUS value from your .config.
--
Regards/Gruss,
Boris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists