diff options
| author | Yunsheng Lin <[email protected]> | 2024-10-28 19:53:40 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-11 10:56:27 -0800 |
| commit | 49e302be73f1b8de45765f3f66878f3b6c659b01 (patch) | |
| tree | 5cc03fb91607554850f59ab86c2c7529b526aa00 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3d18dfe69ce46f106af327736d2261d7e3ee81c0 (diff) | |
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 <[email protected]>
CC: Linux-MM <[email protected]>
Signed-off-by: Yunsheng Lin <[email protected]>
Acked-by: Max Filippov <[email protected]>
Reviewed-by: Alexander Duyck <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions