aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2020-09-15 08:53:50 +0200
committerVasily Gorbik <[email protected]>2020-09-26 15:51:20 +0200
commitb3bd02495cb339124f13135d51940cf48d83e5cb (patch)
tree68397d2b7a494f3cc546a242a19c082077b96835 /include/linux/fpga/fpga-bridge.h
parentfa6999e326fe7851ecbd572b8cb9be8e930ebf41 (diff)
s390/stp: add locking to sysfs functions
The sysfs function might race with stp_work_fn. To prevent that, add the required locking. Another issue is that the sysfs functions are checking the stp_online flag, but this flag just holds the user setting whether STP is enabled. Add a flag to clock_sync_flag whether stp_info holds valid data and use that instead. Cc: [email protected] Signed-off-by: Sven Schnelle <[email protected]> Reviewed-by: Alexander Egorenkov <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions