/* Queue an APM event for kapmd to process and ultimately take the appropriate action. Only a subset of events are handled: APM_LOW_BATTERY APM_POWER_STATUS_CHANGE APM_USER_SUSPEND APM_SYS_SUSPEND APM_CRITICAL_SUSPEND  */
void apm_queue_event(apm_event_t event)
/* Queue an APM event for kapmd to process and ultimately take the appropriate action. Only a subset of events are handled: APM_LOW_BATTERY APM_POWER_STATUS_CHANGE APM_USER_SUSPEND APM_SYS_SUSPEND APM_CRITICAL_SUSPEND  */
void apm_queue_event(apm_event_t event)
{
	unsigned long flags;
	spin_lock_irqsave(&kapmd_queue_lock, flags);
	queue_add_event(&kapmd_queue, event);
	spin_unlock_irqrestore(&kapmd_queue_lock, flags);
	wake_up_interruptible(&kapmd_wait);
}