]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - arch/x86_64/kernel/nmi.c
[PATCH] Fix u32 vs. pm_message_t in x86-64
[linux-3.10.git] / arch / x86_64 / kernel / nmi.c
index 72f40ca4f06b827215beaeba48e94d9898938636..e00d4adec36bd22619a348af72242bf06d4204c7 100644 (file)
@@ -248,7 +248,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();