]> err.no Git - linux-2.6/blobdiff - drivers/char/keyboard.c
fix cyclades.h for x86_64 (and probably others)
[linux-2.6] / drivers / char / keyboard.c
index 59712546f9113d0029803a2afd1a55e69c85bf69..c06e86ad1dabb2da719a5c77ef8aa6f4965b641c 100644 (file)
@@ -1135,7 +1135,7 @@ static void kbd_keycode(unsigned int keycode, int down, int hw_raw)
 
        if ((raw_mode = (kbd->kbdmode == VC_RAW)) && !hw_raw)
                if (emulate_raw(vc, keycode, !down << 7))
-                       if (keycode < BTN_MISC)
+                       if (keycode < BTN_MISC && printk_ratelimit())
                                printk(KERN_WARNING "keyboard.c: can't emulate rawmode for keycode %d\n", keycode);
 
 #ifdef CONFIG_MAGIC_SYSRQ             /* Handle the SysRq Hack */