commit | 52b762f7a94c88e5a8aa2be67a06a6f01020cc82 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Mar 05 14:52:51 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 08 12:51:13 2012 -0800 |
tree | 637b42adc531c7cfd1e5b3c374fa19b84e5864ba | |
parent | e380a81e34375a38f253b42394ef06ca3127559f [diff] |
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 <jslaby@suse.cz> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Helge Deller <deller@gmx.de> Cc: "James E.J. Bottomley" <jejb@parisc-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>