From: Arnd Bergmann Date: Fri, 6 Aug 2010 19:40:30 +0000 (+0200) Subject: tty: implement BTM as mutex instead of BKL X-Git-Tag: v2.6.36-rc1~294^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07471fa51358ce64cc25e1501544502362e4404;p=pandora-kernel.git tty: implement BTM as mutex instead of BKL The tty locking now follows the rules for mutexes, so we can replace the BKL usage with a new subsystem wide mutex. Using a regular mutex here will change the behaviour when blocked on the BTM from spinning to sleeping, but that should not be visible to the user. Using the mutex also means that all the BTM is now covered by lockdep. Signed-off-by: Arnd Bergmann Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed