diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2024-08-26 23:11:32 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-08-26 23:11:32 +0800 |
commit | 274ea3563e5ab9f468c15bfb9d2492803a66d9be (patch) | |
tree | f2b2e7ebf0d17e6ec63a9ba208bc49b5183ec461 /lib/crypto/mpi/mpi-bit.c | |
parent | 58aec91efb93338d1cc7acc0a93242613a2a4e5f (diff) |
LoongArch: Define ARCH_IRQ_INIT_FLAGS as IRQ_NOPROBE
Currently we call irq_set_noprobe() in a loop for all IRQs, but indeed
it only works for IRQs below NR_IRQS_LEGACY because at init_IRQ() only
legacy interrupts have been allocated.
Instead, we can define ARCH_IRQ_INIT_FLAGS as IRQ_NOPROBE in asm/hwirq.h
and the core will automatically set the flag for all interrupts.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Tianyang Zhang <zhangtianyang@loongson.cn>
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions