提交 01c69aaf 编写于 作者: H Hongchen Zhang

LoongArch: fix __ffs not defined compile error

LoongArch inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I79UUL

--------------------------------

LoongArch code can not compile,the reason is __ffs is not found,
chage the bitops.h include order to make it fine.

Fixes: 0cba0556 ("cpumask: introduce for_each_cpu_or")
Signed-off-by: NHongchen Zhang <zhanghongchen@loongson.cn>
上级 c4fb2bc6
......@@ -13,7 +13,6 @@
#include <asm/barrier.h>
#include <asm-generic/bitops/find.h>
#include <asm-generic/bitops/builtin-ffs.h>
#include <asm-generic/bitops/builtin-fls.h>
#include <asm-generic/bitops/builtin-__ffs.h>
......@@ -21,6 +20,7 @@
#include <asm-generic/bitops/ffz.h>
#include <asm-generic/bitops/fls64.h>
#include <asm-generic/bitops/find.h>
#include <asm-generic/bitops/sched.h>
#include <asm-generic/bitops/hweight.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册