#ifndef CONFIG_HOTPLUG_CPU /* * Check for P_LVL2_UP flag before entering C2 and above on * an SMP system. */ if ((num_online_cpus() > 1) && acpi_fadt.plvl2_up) return_VALUE(-ENODEV); #endif  
static int acpi_processor_get_power_info_fadt(struct acpi_processor *pr){	ACPI_FUNCTION_TRACE("acpi_processor_get_power_info_fadt");	if (!pr)		return_VALUE(-EINVAL);	if (!pr->pblk)		return_VALUE(-ENODEV);	memset(pr->power.states, 0, sizeof(pr->power.states));	/* if info is obtained from pblk/fadt, type equals state */	pr->power.states[ACPI_STATE_C1].type = ACPI_STATE_C1;	pr->power.states[ACPI_STATE_C2].type = ACPI_STATE_C2;	pr->power.states[ACPI_STATE_C3].type = ACPI_STATE_C3;	/* the C0 state only exists as a filler in our array,	 * and all processors need to support C1 */	pr->power.states[ACPI_STATE_C0].valid = 1;	pr->power.states[ACPI_STATE_C1].valid = 1;	/* determine C2 and C3 address from pblk */	pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4;	pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5;	/* determine latencies from FADT */	pr->power.states[ACPI_STATE_C2].latency = acpi_fadt.plvl2_lat;	pr->power.states[ACPI_STATE_C3].latency = acpi_fadt.plvl3_lat;	ACPI_DEBUG_PRINT((ACPI_DB_INFO,			  "lvl2[0x%08x] lvl3[0x%08x]\n",			  pr->power.states[ACPI_STATE_C2].address,			  pr->power.states[ACPI_STATE_C3].address));	return_VALUE(0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4c0335526c95d90a1d958e0059f40a5745fc7c5d/processor_idle.c/clean/drivers/acpi/processor_idle.c