Skip to content
Commit 9ca7d8e6 authored by Carsten Emde's avatar Carsten Emde Committed by Thomas Gleixner
Browse files

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: default avatarCarsten Emde <C.Emde@osadl.org>
Tested-by: default avatarPradyumna 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: default avatarThomas Gleixner <tglx@linutronix.de>
parent 351b3f7a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment