Input: amikbd - allocate temporary keymap buffer on the stack
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 3 Dec 2014 22:59:49 +0000 (14:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Dec 2014 23:28:27 +0000 (15:28 -0800)
commite147af492e6c80855550908c86d6d11a501cbfaf
tree0ba34a7bbea6e8a2a36c188439fffd4390d312e2
parent545e625325c5850a506b116788e6045aac69cc36
Input: amikbd - allocate temporary keymap buffer on the stack

Allocate the temporary buffer needed for initialization of the console
keyboard maps (512 bytes, as NR_KEYS = 256) on the stack instead of
statically, to reduce kernel size.

add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-512 (-512)
function                                     old     new   delta
temp_map                                     512       -    -512

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/amikbd.c