diff options
author | Yury Norov <yury.norov@gmail.com> | 2024-04-13 21:49:13 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2024-04-15 11:29:36 +0300 |
commit | 40e20fbccfb722f219ab8d3ff1edde99e4a7c46c (patch) | |
tree | 9cc432b547962a9f0bf01be31efa70d297144ab4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b8f8e5a691ba75051a841e68ace5817d5c368fd9 (diff) | |
download | linux-40e20fbccfb722f219ab8d3ff1edde99e4a7c46c.tar.xz |
MIPS: SGI-IP27: micro-optimize arch_init_irq()
The function sets adjasted groups of bits in hub_irq_map by using
for-loops. There's a bitmap_set() function dedicated to do this.
Because [0, CPU_CALL_B_IRQ] and [NI_BRDCAST_ERR_A, MSC_PANIC_INTR]
ranges belong to the same machine word, bitmap_set() would boil down
to an inline wrapper in both cases, avoiding generating a loop, whth
the associate overhead.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions