Files
linux/arch/xtensa/include/asm
Yunsheng Lin 49e302be73 xtensa: remove the get_order() implementation
As the get_order() implemented by xtensa supporting 'nsau'
instruction seems be the same as the generic implementation
in include/asm-generic/getorder.h when size is not a constant
value as the generic implementation calling the fls*() is also
utilizing the 'nsau' instruction for xtensa.

So remove the get_order() implemented by xtensa, as using the
generic implementation may enable the compiler to do the
computing when size is a constant value instead of runtime
computing and enable the using of get_order() in BUILD_BUG_ON()
macro in next patch.

CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux-MM <linux-mm@kvack.org>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/20241028115343.3405838-6-linyunsheng@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-11-11 10:56:27 -08:00
..
2023-06-12 19:48:57 -07:00
2022-02-25 09:36:06 +01:00
2022-05-01 19:51:22 -07:00
2022-05-01 19:51:22 -07:00
2019-11-26 11:33:38 -08:00
2024-09-13 07:10:38 -07:00
2023-06-12 19:48:57 -07:00
2021-12-11 23:31:51 +01:00
2023-08-18 10:12:35 -07:00
2023-12-29 11:58:43 -08:00
2023-08-28 18:25:23 -07:00
2022-07-17 17:14:44 -07:00
2019-09-01 13:11:57 -07:00
2023-08-28 18:25:23 -07:00
2023-06-12 19:48:57 -07:00
2022-02-25 09:36:06 +01:00
2020-02-04 21:57:02 -08:00