From: Rolf Eike Beer 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> References: <3154414.psmJh6J2U2@donald.sf-tec.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: linux-kernel , David Howells , Arnd Bergmann , "H. Peter Anvin" To: linux-parisc@vger.kernel.org Return-path: In-Reply-To: <3154414.psmJh6J2U2@donald.sf-tec.de> List-ID: List-Id: linux-parisc.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