[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix build for smp
From: |
Etienne Brateau |
Subject: |
[PATCH] Fix build for smp |
Date: |
Fri, 13 Jan 2023 15:47:32 +0100 |
ad51c68171cb6a1cae15c61ca0218bbee2c05485 missed one replacement which
was not discovered because it’s only when building with smp enabled.
---
i386/intel/pmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 00a18402..63f372a9 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -2884,7 +2884,7 @@ void signal_cpus(
int which_cpu, j;
pmap_update_list_t update_list_p;
- while ((which_cpu = ffs(use_list)) != 0) {
+ while ((which_cpu = __builtin_ffs(use_list)) != 0) {
which_cpu -= 1; /* convert to 0 origin */
update_list_p = &cpu_update_list[which_cpu];
--
2.39.0
- [PATCH] Fix build for smp,
Etienne Brateau <=