Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965050AbXBTP2d (ORCPT ); Tue, 20 Feb 2007 10:28:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965066AbXBTP2d (ORCPT ); Tue, 20 Feb 2007 10:28:33 -0500 Received: from xdsl-664.zgora.dialog.net.pl ([81.168.226.152]:2772 "EHLO tuxland.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965052AbXBTP2c (ORCPT ); Tue, 20 Feb 2007 10:28:32 -0500 From: Mariusz Kozlowski To: "Robert P. J. Day" Subject: Re: [PATCH] Add "is_power_of_2" checking to log2.h. Date: Tue, 20 Feb 2007 16:29:40 +0100 User-Agent: KMail/1.9.5 Cc: Linux kernel mailing list , Andrew Morton , Paul Mackerras , dhowells@redhat.com, galak@kernel.crashing.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702201629.40758.m.kozlowski@tuxland.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 444 Lines: 15 Hello, Please fix the parentheses thing in both arch/powerpc/mm/pgtable_32.c and arch/ppc/mm/pgtable.c. > +#define is_power_of_4(x) is_power_of_2(x) && (ffs(x) & 1)) Regards, Mariusz Kozlowski - 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/