From 01c69aaf2d7b8070d560e80bf1b063a0fcd47052 Mon Sep 17 00:00:00 2001 From: Hongchen Zhang Date: Wed, 31 May 2023 18:04:25 +0800 Subject: [PATCH] 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: 0cba0556ac99 ("cpumask: introduce for_each_cpu_or") Signed-off-by: Hongchen Zhang --- arch/loongarch/include/asm/bitops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/loongarch/include/asm/bitops.h b/arch/loongarch/include/asm/bitops.h index 4f09adbb3a76..f22390e90930 100644 --- a/arch/loongarch/include/asm/bitops.h +++ b/arch/loongarch/include/asm/bitops.h @@ -13,7 +13,6 @@ #include -#include #include #include #include @@ -21,6 +20,7 @@ #include #include +#include #include #include -- Gitee