From: Jiri Slaby Date: Wed, 16 Nov 2011 15:27:07 +0000 (+0100) Subject: TTY: ldisc, allow waiting for ldisc arbitrarily long X-Git-Tag: v3.2-rc3~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df92d0561de364de53c42abc5d43e04ab6f326a5;p=pandora-kernel.git TTY: ldisc, allow waiting for ldisc arbitrarily long To fix a nasty bug in ldisc hup vs. reinit we need to wait infinitely long for ldisc to be gone. So here we add a parameter to tty_ldisc_wait_idle to allow that. This is only a preparation for the real fix which is done in the following patches. Signed-off-by: Jiri Slaby Cc: Dave Young Cc: Dave Jones Cc: Ben Hutchings Cc: Dmitriy Matrosov Cc: Alan Cox Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed