Char: nozomi, use GFP_KERNEL for kfifo allocation
authorJiri Slaby <jslaby@suse.cz>
Wed, 20 Apr 2011 08:43:12 +0000 (10:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Apr 2011 21:19:10 +0000 (14:19 -0700)
commitc29bd8d89c9423aed182dbfdb6527b576a2f3552
tree51029e6774dd10640a4b90cb56f90e4c879ee3e1
parentb1c43f82c5aa265442f82dba31ce985ebb7aa71c
Char: nozomi, use GFP_KERNEL for kfifo allocation

The allocation was moved to probe function in 9842c38e9176. And we can
sleep there. So allocate the 4*8192 bytes as GFP_KERNEL to mitigate
the allocation failure.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Tested-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/nozomi.c