From 46fe85e2c2aaa1bca76c53c046fe2bb48f5acee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=BE=84?= <36236188+Eureka1024@users.noreply.github.com> Date: Sun, 7 Nov 2021 15:51:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=E7=AE=80=E5=8C=96=E7=89=88?= =?UTF-8?q?=E7=9A=84=5F=5Frt=5Fffs()=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/kservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kservice.c b/src/kservice.c index dd95fe029a..6c54766728 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -1375,7 +1375,7 @@ const rt_uint8_t __lowest_bit_bitmap[] = */ int __rt_ffs(int value) { - return __lowest_bit_bitmap_new[(rt_uint32_t)(value & (value - 1) ^ value) % 37]; + return __lowest_bit_bitmap[(rt_uint32_t)(value & (value - 1) ^ value) % 37]; } #else const rt_uint8_t __lowest_bit_bitmap[] = -- GitLab