From: Carsten Emde Date: Fri, 2 Apr 2010 20:40:20 +0000 (+0200) Subject: mqueue: Convert message queue timeout to use hrtimers X-Git-Tag: v2.6.35-rc1~492^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ca7d8e6834c40a99622bbe4a88aaf64313ae43c;p=pandora-kernel.git 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 Tested-by: Pradyumna Sampath Cc: Arjan van de Veen Cc: Andrew Morton LKML-Reference: <20100402204331.715783034@osadl.org> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed