linux-kernel-test/arch/blackfin/kernel
Michael Hennerich 6e537e9329 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>
2007-05-21 09:50:22 -07:00
..
asm-offsets.c wrap access to thread_info 2007-05-09 12:30:56 -07:00
bfin_dma_5xx.c Blackfin arch: DMA operation cleanup 2007-05-21 09:50:22 -07:00
bfin_gpio.c Blackfin arch: Fix reserved map after we changed PORT_H definition 2007-05-21 09:50:21 -07:00
bfin_ksyms.c blackfin architecture 2007-05-07 12:12:58 -07:00
dma-mapping.c blackfin architecture 2007-05-07 12:12:58 -07:00
dualcore_test.c blackfin architecture 2007-05-07 12:12:58 -07:00
entry.S blackfin architecture 2007-05-07 12:12:58 -07:00
flat.c blackfin architecture 2007-05-07 12:12:58 -07:00
init_task.c blackfin architecture 2007-05-07 12:12:58 -07:00
irqchip.c blackfin architecture 2007-05-07 12:12:58 -07:00
Makefile blackfin architecture 2007-05-07 12:12:58 -07:00
module.c blackfin architecture 2007-05-07 12:12:58 -07:00
process.c blackfin architecture 2007-05-07 12:12:58 -07:00
ptrace.c rename thread_info to stack 2007-05-09 12:30:56 -07:00
setup.c Blackfin arch: Fix bug using usb keyboard crashes kernel 2007-05-21 09:50:22 -07:00
signal.c blackfin architecture 2007-05-07 12:12:58 -07:00
sys_bfin.c blackfin architecture 2007-05-07 12:12:58 -07:00
time.c blackfin architecture 2007-05-07 12:12:58 -07:00
traps.c Blackfin arch: fix trace output for FLAT binaries 2007-05-21 09:50:22 -07:00
vmlinux.lds.S blackfin architecture 2007-05-07 12:12:58 -07:00