summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorCarsten Emde <C.Emde@osadl.org>2010-04-02 22:40:20 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-04-06 21:50:03 +0200
commit9ca7d8e6834c40a99622bbe4a88aaf64313ae43c (patch)
tree27c0e93e23c25a30aec38c1f79cfa3d194681d24 /samples
parent351b3f7a21e413a9b14d0393171497d2373bd702 (diff)
downloadop-kernel-dev-9ca7d8e6834c40a99622bbe4a88aaf64313ae43c.zip
op-kernel-dev-9ca7d8e6834c40a99622bbe4a88aaf64313ae43c.tar.gz
mqueue: Convert message queue timeout to use hrtimers
The message queue functions mq_timedsend() and mq_timedreceive() have not yet been converted to use the hrtimer interface. This patch replaces the call to schedule_timeout() by a call to schedule_hrtimeout() and transforms the expiration time from timespec to ktime as required. [ tglx: Fixed whitespace wreckage ] Signed-off-by: Carsten Emde <C.Emde@osadl.org> Tested-by: Pradyumna Sampath <pradysam@gmail.com> Cc: Arjan van de Veen <arjan@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> LKML-Reference: <20100402204331.715783034@osadl.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud