Skip to content
Commit 205d7ab9 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

[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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent fcf7581f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment