]> err.no Git - linux-2.6/blobdiff - arch/x86_64/kernel/mce.c
WorkStruct: Separate delayable and non-delayable events.
[linux-2.6] / arch / x86_64 / kernel / mce.c
index bbea88801d883cc8928c6a9c91fe5bf5efbf4c9f..5306f26309052e86756ce3d1102d2ae300eebf36 100644 (file)
@@ -307,7 +307,7 @@ void mce_log_therm_throt_event(unsigned int cpu, __u64 status)
 
 static int check_interval = 5 * 60; /* 5 minutes */
 static void mcheck_timer(void *data);
-static DECLARE_WORK(mcheck_work, mcheck_timer, NULL);
+static DECLARE_DELAYED_WORK(mcheck_work, mcheck_timer, NULL);
 
 static void mcheck_check_cpu(void *info)
 {