X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fbitops.h;h=adaf0914921c41278c3cd49380244ed8843611cf;hb=33f57bd553edf29dffef5a6c7d76e169c79a6049;hp=9ed2f5d6faa7e7e79152a10d3f210b49b099cc1f;hpb=52d61227b66d4099b39c8309ab37cb67ee09a405;p=oweals%2Fu-boot.git diff --git a/include/asm-ppc/bitops.h b/include/asm-ppc/bitops.h index 9ed2f5d6fa..adaf091492 100644 --- a/include/asm-ppc/bitops.h +++ b/include/asm-ppc/bitops.h @@ -178,7 +178,7 @@ static __inline__ int fls(unsigned int x) { return __ilog2(x) + 1; } -#define fls +#define PLATFORM_FLS /** * fls64 - find last set bit in a 64-bit word @@ -231,7 +231,7 @@ extern __inline__ int ffs(int x) { return __ilog2(x & -x) + 1; } -#define ffs +#define PLATFORM_FFS /* * hweightN: returns the hamming weight (i.e. the number