Skip to content
Commit 0b3016b7 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

[S390] serialize stp/etr work



The work function dispatched with schedule_work() can be run twice
on different cpus because run_workqueue clears the WORK_STRUCT_PENDING
bit and then executes the function. Another cpu can call schedule_work()
again and run the work function a second time before the first call
is completed. This patch serialized the etr and stp work function with
a mutex.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 750887de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment