]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86, bitops: Move fls64.h inside __KERNEL__
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 15 Dec 2011 22:55:53 +0000 (14:55 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 15 Dec 2011 23:04:07 +0000 (15:04 -0800)
commit83d99df7c4bf37176d8c7b199e3b129a51fa04c8
treebd5783c1be0c0b899726d061554efe010e98d459
parentcebef5beed3de3037de85a521495897256b2c5da
x86, bitops: Move fls64.h inside __KERNEL__

We would include <asm-generic/bitops/fls64.h> even without __KERNEL__,
but that doesn't make sense, as:

1. That file provides fls64(), but the corresponding function fls() is
   not exported to user space.
2. The implementation of fls64.h uses kernel-only symbols.
3. fls64.h is not exported to user space.

This appears to have been a bug introduced in checkin:

d57594c203b1 bitops: use __fls for fls64 on 64-bit archs

Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Alexander van Heukelum <heukelum@mailshack.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/r/4EEA77E1.6050009@zytor.com
arch/x86/include/asm/bitops.h