Commit 01c69aaf authored by Hongchen Zhang's avatar Hongchen Zhang
Browse files

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: default avatarHongchen Zhang <zhanghongchen@loongson.cn>
parent c4fb2bc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>