aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2024-04-13 11:49:13 -0700
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-04-15 10:29:36 +0200
commit40e20fbccfb722f219ab8d3ff1edde99e4a7c46c (patch)
tree9cc432b547962a9f0bf01be31efa70d297144ab4 /scripts/generate_rust_analyzer.py
parentb8f8e5a691ba75051a841e68ace5817d5c368fd9 (diff)
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions