summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/bitops.h
AgeCommit message (Collapse)Author
2024-07-15x86: Remove duplicate newlinesMarek Vasut
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <[email protected]>
2018-05-15x86: Define PLATFORM__SET_BIT for generic_set_bit()Bryan O'Donoghue
x86 bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT as a result generic_set_bit() is used instead of the architecturally provided __set_bit(). This patch defines PLATFORM__SET_BIT which means that __set_bit() in x86 bitops.h will be called whenever generic_set_bit() is called - as opposed to the default cross-platform generic_set_bit(). Signed-off-by: Bryan O'Donoghue <[email protected]> Cc: Simon Glass <[email protected]> Cc: Bin Meng <[email protected]>
2015-11-05x86: Use the generic bitops headersFabio Estevam
Use the generic bitops and also add custom __ffs() implementation as per the kernel. Also align the ffs() implementation with the kernel. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2012-11-28x86: Add ilog2 to bitopsGraeme Russ
ilog2 is required by AHCI driver Signed-off-by: Graeme Russ <[email protected]> Signed-off-by: Simon Glass <[email protected]>
2011-04-13x86: Rename i386 to x86Graeme Russ
Signed-off-by: Graeme Russ <[email protected]>