[sheepdog] [PATCH] fix compile error message when __SIZEOF_POINTER__ is not defined

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Oct 30 01:53:49 CET 2012


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 include/bitops.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/bitops.h b/include/bitops.h
index 26be625..e6942a3 100644
--- a/include/bitops.h
+++ b/include/bitops.h
@@ -214,7 +214,7 @@ static __always_inline int fls64(uint64_t x)
 	return __fls(x) + 1;
 }
 #else
-#error BITS_PER_LONG not 32 or 64
+#error __SIZEOF_POINTER__ not 4 or 8
 #endif
 
 #endif /* __BITOPS_H__ */
-- 
1.7.2.5




More information about the sheepdog mailing list