From: Martin Schwidefsky Date: Fri, 12 Jun 2009 08:26:31 +0000 (+0200) Subject: [S390] 3270: lock dependency fixes X-Git-Tag: v2.6.31-rc1~354^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=205d7ab9c9af6847dda30650a0b8f98555a20654;p=pandora-kernel.git [S390] 3270: lock dependency fixes Lockdep found a problem with the lock order of the view lock and the ccw device lock. raw3270_activate_view/raw3270_deactivate_view first take the ccw device lock then call the activate/deactivate functions of the view which take view lock. The update functions of the con3270/tty3270 view will first take the view lock, then take the ccw device lock. To fix this the activate/deactivate functions are changed to avoid taking the view lock by moving the functions calls that modify the 3270 output buffer to the update function which is called by a timer. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed