From: Alexander van Heukelum Subject: [0/3] Improve generic fls64 for 64-bit machines Date: Sat, 15 Mar 2008 18:29:14 +0100 Message-ID: <20080315172913.GA21648@mailshack.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Sender: linux-arch-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: To: Andrew Morton , linux-arch Cc: Ingo Molnar , Andi Kleen , LKML This series of patches: [1/3] adds __fls.h to asm-generic [2/3] modifies asm-*/bitops.h for 64-bit archs to implement __fls [3/3] modifies asm-generic/fls64.h to make use of __fls I have compiled i386 and x86_64, and they generate the same code as before the change. The changes to the other archs are a best effort. Please comment. If this patch series is accepted, it will make one tiny bit of the x86-unification a tiny bit cleaner. The patches are against Linus' current tree. Andrew, if no concensus can be reached that this is a bad patch series, would you be willing to add this to your tree? Greetings, Alexander -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html