Skip to content

Commit 090bf6f

Browse files
changbinductmarinas
authored andcommitted
arm64: replace in_irq() with in_hardirq()
Replace the obsolete and ambiguos macro in_irq() with new macro in_hardirq(). Signed-off-by: Changbin Du <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 5e10f98 commit 090bf6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/include/asm/simd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static __must_check inline bool may_use_simd(void)
3737
*/
3838
return !WARN_ON(!system_capabilities_finalized()) &&
3939
system_supports_fpsimd() &&
40-
!in_irq() && !irqs_disabled() && !in_nmi() &&
40+
!in_hardirq() && !irqs_disabled() && !in_nmi() &&
4141
!this_cpu_read(fpsimd_context_busy);
4242
}
4343

0 commit comments

Comments
 (0)