 /* do we have a wakeup address for S2 and S3? */ /* Here, we support only S4BIOS, those we set the wakeup address */ /* S4OS is only supported for now via swsusp.. */ if (pm_state == PM_SUSPEND_MEM || pm_state == PM_SUSPEND_DISK) { if (!acpi_wakeup_address) return -EFAULT; acpi_set_firmware_waking_vector( (acpi_physical_address) virt_to_phys( (void *)acpi_wakeup_address)); 
static int acpi_pm_prepare(suspend_state_t pm_state){	u32 acpi_state = acpi_suspend_states[pm_state];	if (!sleep_states[acpi_state])		return -EPERM;	/* do we have a wakeup address for S2 and S3? */	/* Here, we support only S4BIOS, those we set the wakeup address */	/* S4OS is only supported for now via swsusp.. */	if (pm_state == PM_SUSPEND_MEM || pm_state == PM_SUSPEND_DISK) {		if (!acpi_wakeup_address)			return -EFAULT;		acpi_set_firmware_waking_vector(			(acpi_physical_address) virt_to_phys(				(void *)acpi_wakeup_address));	}	ACPI_FLUSH_CPU_CACHE();	acpi_enable_wakeup_device_prep(acpi_state);	acpi_enter_sleep_state_prep(acpi_state);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/e2a5b420f716cd1a46674b1a90389612eced916f/main.c/clean/drivers/acpi/sleep/main.c