]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/microcode_intel.c
Fix date output in x86 microcode driver.
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / microcode_intel.c
index a61986e8b6917cde6c567bf179fce504a7952a3e..d2d9d74f4cbb465d2ecacf51ed641f1755e982bc 100644 (file)
@@ -339,8 +339,11 @@ static void apply_microcode(int cpu)
                return;
        }
        printk(KERN_INFO "microcode: CPU%d updated from revision "
-              "0x%x to 0x%x, date = %08x \n",
-              cpu_num, uci->rev, val[1], uci->mc.mc_intel->hdr.date);
+              "0x%x to 0x%x, date = %04x-%02x-%02x \n",
+               cpu_num, uci->rev, val[1],
+               uci->mc.mc_intel->hdr.date & 0xffff,
+               uci->mc.mc_intel->hdr.date >> 24,
+               (uci->mc.mc_intel->hdr.date >> 16) & 0xff);
        uci->rev = val[1];
 }