diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-10-29 16:09:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-31 14:37:17 +0300 |
commit | de3c88b857384e393979dc9b6e85bce88e010f64 (patch) | |
tree | c2cba3e7764d50936791e32af880bcaee5180955 /Documentation/aoe | |
parent | 17972ec7d6fff2d32e0a7022164402c25e264e2a (diff) | |
download | linux-de3c88b857384e393979dc9b6e85bce88e010f64.tar.xz |
s390/time: ensure get_clock_monotonic() returns monotonic values
[ Upstream commit 011620688a71f2f1fe9901dbc2479a7c01053196 ]
The current implementation of get_clock_monotonic() leaves it up to
the caller to call the function with preemption disabled. The only
core kernel caller (sched_clock) however does not disable preemption.
In order to make sure that all callers of this function see monotonic
values handle disabling preemption within the function itself.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/aoe')
0 files changed, 0 insertions, 0 deletions