]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - include/asm-x86/mach-default/mach_reboot.h
x86: fix reboot with no keyboard attached
[linux-3.10.git] / include / asm-x86 / mach-default / mach_reboot.h
index e23fd9fbebb3a5b024a9c8c2e155ea02ae51c8a9..6adee6a97dec4f462776a59c2259842a4cfc7c71 100644 (file)
@@ -49,7 +49,7 @@ static inline void mach_reboot(void)
                udelay(50);
                kb_wait();
                udelay(50);
                udelay(50);
                kb_wait();
                udelay(50);
-               outb(cmd | 0x04, 0x60); /* set "System flag" */
+               outb(cmd | 0x14, 0x60); /* set "System flag" and "Keyboard Disabled" */
                udelay(50);
                kb_wait();
                udelay(50);
                udelay(50);
                kb_wait();
                udelay(50);