From: Jiri Slaby Date: Mon, 5 Mar 2012 13:52:51 +0000 (+0100) Subject: TTY: pdc_cons, fix open vs timer race X-Git-Tag: v3.4-rc1~185^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52b762f7a94c88e5a8aa2be67a06a6f01020cc82;p=pandora-kernel.git TTY: pdc_cons, fix open vs timer race The timer is initialized too late. tty->open may fire an invalid timer. So initialize the timer earlier using DEFINE_TIMER. Signed-off-by: Jiri Slaby Cc: Kyle McMartin Cc: Helge Deller Cc: "James E.J. Bottomley" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed