[lhcs-devel] Re: [RFC] don't create cpu/online sysfs file

Dave Hansen haveblue at us.ibm.com
Tue Jun 8 02:41:49 EST 2004


On Mon, 2004-06-07 at 07:08, Ashok Raj wrote:plugging.
> +		if (systemcfg->platform == PLATFORM_PSERIES_LPAR)
> +			cpu->no_control=1;

That condition is also inverted.  Should read:

if (systemcfg->platform != PLATFORM_PSERIES_LPAR)
	cpu->no_control = 1;



-- Dave


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list