diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-05-21 10:09:20 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 16:50:22 (GMT) |
commit | 6e537e9329d133526a576b741f85b3d48edc4ac1 (patch) | |
tree | 2320a9073b8e057d9f69ce1ffa89eadc8e708f8d /arch/blackfin/mach-bf561 | |
parent | 8a0e6656030ffe9bcb81b725e956917bafc7522d (diff) | |
download | linux-fsl-qoriq-6e537e9329d133526a576b741f85b3d48edc4ac1.tar.xz |
Blackfin arch: Fix bug using usb keyboard crashes kernel
Without conswitchp preset, we have the following situation:
- During initcalls: con_init is called, and returns because of
!display_desc.
- At this point there is no memory allocated for vc_cons[].d
A bit later vty_init calls kbd_init.
- From now on events are passed to kbd_event which will then call
kbd_keycode.
- kbd_keycode will oops on a NULL pointer dereference on vc->vc_tty
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
[ Added commit description based on email thread. - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin/mach-bf561')
0 files changed, 0 insertions, 0 deletions