Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764145AbXJEV3Q (ORCPT ); Fri, 5 Oct 2007 17:29:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751997AbXJEV3B (ORCPT ); Fri, 5 Oct 2007 17:29:01 -0400 Received: from gw.goop.org ([64.81.55.164]:40377 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751462AbXJEV3A (ORCPT ); Fri, 5 Oct 2007 17:29:00 -0400 Message-ID: <4706AC8D.1030100@goop.org> Date: Fri, 05 Oct 2007 14:28:45 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Andreas Schwab CC: "Robert P. J. Day" , Andrew Morton , bbpetkov@yahoo.de, linux-kernel@vger.kernel.org, muli@il.ibm.com, satyam@infradead.org, amitkale@netxen.com, achim_leubner@adaptec.com Subject: Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1 References: <20070918194647.GA23800@gollum.tnic> <20071005124705.6584e2f9.akpm@linux-foundation.org> <4706A20A.5060603@goop.org> <20071005140050.655b7727.akpm@linux-foundation.org> In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 359 Lines: 12 Andreas Schwab wrote: > #define DMA_BIT_MASK(n) ((u64)-1 >> (64 - (n))) > Yeah, that's cleaner. J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/