linux-mips
[Top] [All Lists]

Re: [PATCH 10/15] arch/mips: Use DIV_ROUND_CLOSEST

To: Julia Lawall <julia@diku.dk>
Subject: Re: [PATCH 10/15] arch/mips: Use DIV_ROUND_CLOSEST
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sun, 2 Aug 2009 19:41:05 +0100
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
In-reply-to: <Pine.LNX.4.64.0908021047480.15557@ask.diku.dk>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.64.0908021047480.15557@ask.diku.dk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, Aug 02, 2009 at 10:48:08AM +0200, Julia Lawall wrote:

> 
> From: Julia Lawall <julia@diku.dk>
> 
> The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
> but is perhaps more readable.

Applied.  Thanks Julia!

  Ralf

<Prev in Thread] Current Thread [Next in Thread>