X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fbitops.h;h=adaf0914921c41278c3cd49380244ed8843611cf;hb=61f2b38a17f5b21c59f2afe6cf1cbb5f28638cf9;hp=9ed2f5d6faa7e7e79152a10d3f210b49b099cc1f;hpb=52d61227b66d4099b39c8309ab37cb67ee09a405;p=u-boot 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