Re: [PATCH 03/15] powernow-k7: Work when kernel is compiled for SMP

From: Dominik Brodowski
Date: Wed Jan 04 2006 - 17:25:38 EST


On Wed, Jan 04, 2006 at 04:59:31PM -0500, Ben Collins wrote:
> On a UP system with SMP compiled kernel, the powernow-k7 module would not
> initialize (returned -ENODEV). Not sure why policy->cpu != 0 for UP
>
> Signed-off-by: Ben Collins <bcollins@xxxxxxxxxx>

May the smp_processor_id() be != 0 on _true_ UP on SMP? What happens if (using
virtual CPU hotplug) the module is modprobe'd with one CPU online, and then
the second CPU becomes online later?

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