aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-powerpc/bitops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/bitops.h b/include/asm-powerpc/bitops.h
index 0288144ea024..8f757f6246e4 100644
--- a/include/asm-powerpc/bitops.h
+++ b/include/asm-powerpc/bitops.h
@@ -209,7 +209,7 @@ int __ilog2_u32(u32 n)
209 209
210#ifdef __powerpc64__ 210#ifdef __powerpc64__
211static inline __attribute__((const)) 211static inline __attribute__((const))
212int __ilog2_u64(u32 n) 212int __ilog2_u64(u64 n)
213{ 213{
214 int bit; 214 int bit;
215 asm ("cntlzd %0,%1" : "=r" (bit) : "r" (n)); 215 asm ("cntlzd %0,%1" : "=r" (bit) : "r" (n));