From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbZHBSln (ORCPT ); Sun, 2 Aug 2009 14:41:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753333AbZHBSlm (ORCPT ); Sun, 2 Aug 2009 14:41:42 -0400 Received: from h5.dl5rb.org.uk ([81.2.74.5]:56288 "EHLO h5.dl5rb.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753264AbZHBSll (ORCPT ); Sun, 2 Aug 2009 14:41:41 -0400 Date: Sun, 2 Aug 2009 19:41:05 +0100 From: Ralf Baechle To: Julia Lawall Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 10/15] arch/mips: Use DIV_ROUND_CLOSEST Message-ID: <20090802184024.GB9058@linux-mips.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 02, 2009 at 10:48:08AM +0200, Julia Lawall wrote: > > From: Julia Lawall > > The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d > but is perhaps more readable. Applied. Thanks Julia! Ralf