projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
85xx: Fix enabling of L1 cache parity on secondary cores
[oweals/u-boot.git]
/
include
/
asm-ppc
/
bitops.h
diff --git
a/include/asm-ppc/bitops.h
b/include/asm-ppc/bitops.h
index daa66cf9185bbc19967c22a4aa4f65629c472fcd..adaf0914921c41278c3cd49380244ed8843611cf 100644
(file)
--- a/
include/asm-ppc/bitops.h
+++ b/
include/asm-ppc/bitops.h
@@
-178,6
+178,7
@@
static __inline__ int fls(unsigned int x)
{
return __ilog2(x) + 1;
}
+#define PLATFORM_FLS
/**
* fls64 - find last set bit in a 64-bit word
@@
-230,6
+231,7
@@
extern __inline__ int ffs(int x)
{
return __ilog2(x & -x) + 1;
}
+#define PLATFORM_FFS
/*
* hweightN: returns the hamming weight (i.e. the number