From 4b538a9cf40bc3bff10a1cf1086db02b62035cdd Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Thu, 12 Apr 2007 01:30:52 -0400 Subject: [PATCH] --- yaml --- r: 53411 b: refs/heads/master c: 9e35d20663344b38339ffb6127ba08285f3397a9 h: refs/heads/master i: 53409: 77cb6c31df737fe4aa0651bcb911b4ab412e7157 53407: 95eba17163d3e1f8fb6d8f08faa05ab302c5a657 v: v3 --- [refs] | 2 +- trunk/drivers/char/keyboard.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 02e32fab329f..03b3b0efee96 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 887cc127233f34e833d074380f433a04de207563 +refs/heads/master: 9e35d20663344b38339ffb6127ba08285f3397a9 diff --git a/trunk/drivers/char/keyboard.c b/trunk/drivers/char/keyboard.c index 59712546f911..c06e86ad1dab 100644 --- a/trunk/drivers/char/keyboard.c +++ b/trunk/drivers/char/keyboard.c @@ -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 */