From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752605Ab2DUSeE (ORCPT ); Sat, 21 Apr 2012 14:34:04 -0400 Received: from mail.sf-mail.de ([62.27.20.61]:39974 "EHLO mail.sf-mail.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751986Ab2DUSdg (ORCPT ); Sat, 21 Apr 2012 14:33:36 -0400 From: Rolf Eike Beer To: linux-parisc@vger.kernel.org Cc: linux-kernel , David Howells , Arnd Bergmann , "H. Peter Anvin" Subject: [PATCH 1/6] use linux/bitops.h instead of linux/log2.h to get fls() Date: Sat, 21 Apr 2012 20:23:58 +0200 Message-ID: <3739293.5fPmfJVmA0@donald.sf-tec.de> User-Agent: KMail/4.8.2 (Linux/3.2.9-13-desktop; KDE/4.8.2; i686; ; ) In-Reply-To: <3154414.psmJh6J2U2@donald.sf-tec.de> References: <3154414.psmJh6J2U2@donald.sf-tec.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Date: Sat, 21 Apr 2012 20:33:19 +0200 From: Message-Id: <1335033199.699870@mail.sf-mail.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since d66acc39c7cee323733c8503b9de1821a56dff7e (bitops: Optimise get_order()) getorder.h includes log2.h to get fls() and fls64(). They are not defined in log2.h, but in bitops.h. This works since log2.h includes bitops.h, but we should do it properly to not get any bad surprises if log2.h changes. Signed-off-by: Rolf Eike Beer --- include/asm-generic/getorder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/getorder.h b/include/asm-generic/getorder.h index 65e4468..563114f 100644 --- a/include/asm-generic/getorder.h +++ b/include/asm-generic/getorder.h @@ -4,7 +4,7 @@ #ifndef __ASSEMBLY__ #include -#include +#include /* * Runtime evaluation of get_order() -- 1.7.9.2