[PATCH] pm_message_t: more fixes in common and i386
[linux-3.10.git] / arch / i386 / kernel / nmi.c
index f5b0c5081bd65cae2d2944baf8d3710cfd9b21a8..2f89d000f9540b0e95b6f09b18858dee85c2f64c 100644 (file)
@@ -265,7 +265,7 @@ void enable_timer_nmi_watchdog(void)
 
 static int nmi_pm_active; /* nmi_active before suspend */
 
-static int lapic_nmi_suspend(struct sys_device *dev, u32 state)
+static int lapic_nmi_suspend(struct sys_device *dev, pm_message_t state)
 {
        nmi_pm_active = nmi_active;
        disable_lapic_nmi_watchdog();