瀏覽代碼

microblaze: Use the generic bitops headers

The generic bitops headers are required when calling logarithmic
functions, such as ilog2().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Fabio Estevam 9 年之前
父節點
當前提交
e6e7b7c0ab
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      arch/microblaze/include/asm/bitops.h

+ 4 - 0
arch/microblaze/include/asm/bitops.h

@@ -7,6 +7,10 @@
 
 #include <asm/byteorder.h>	/* swab32 */
 #include <asm/system.h>		/* save_flags */
+#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
+#include <asm-generic/bitops/fls64.h>
+#include <asm-generic/bitops/__ffs.h>
 
 #ifdef __KERNEL__
 /*