Minor - use wait_irq() instead of irq_enable()/hlt() in apm.