diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-05-31 23:23:02 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-06-10 00:59:14 +0200 |
commit | b5227d03b7191a9a44bf75a4c228a6a9ddbe781b (patch) | |
tree | c9598d40a1161ddaf9afef234f8c6c2c4bc5dcaa /kernel/time/timekeeping.c | |
parent | timerfd: Reject ALARM timerfds without CAP_WAKE_ALARM (diff) | |
download | linux-b5227d03b7191a9a44bf75a4c228a6a9ddbe781b.tar.xz linux-b5227d03b7191a9a44bf75a4c228a6a9ddbe781b.zip |
timers: Clarify usleep_range() function comment
Update the usleep_range() function comment to make it clear that it can
only be used in non-atomic context.
Previously we claimed usleep_range() was a drop-in replacement for udelay()
where wakeup is flexible. But that's only true in non-atomic contexts,
where it's possible to sleep instead of delay.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/20160531212302.28502.44995.stgit@bhelgaas-glaptop2.roam.corp.google.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/timekeeping.c')
0 files changed, 0 insertions, 0 deletions