linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: replace in_irq() with in_hardirq()
@ 2021-08-14  0:54 Changbin Du
  2021-08-20 18:50 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Changbin Du @ 2021-08-14  0:54 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon; +Cc: linux-arm-kernel, linux-kernel, Changbin Du

Replace the obsolete and ambiguos macro in_irq() with new
macro in_hardirq().

Signed-off-by: Changbin Du <changbin.du@gmail.com>
---
 arch/arm64/include/asm/simd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/include/asm/simd.h b/arch/arm64/include/asm/simd.h
index 89cba2622b79..6a75d7ecdcaa 100644
--- a/arch/arm64/include/asm/simd.h
+++ b/arch/arm64/include/asm/simd.h
@@ -37,7 +37,7 @@ static __must_check inline bool may_use_simd(void)
 	 */
 	return !WARN_ON(!system_capabilities_finalized()) &&
 	       system_supports_fpsimd() &&
-	       !in_irq() && !irqs_disabled() && !in_nmi() &&
+	       !in_hardirq() && !irqs_disabled() && !in_nmi() &&
 	       !this_cpu_read(fpsimd_context_busy);
 }
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: replace in_irq() with in_hardirq()
  2021-08-14  0:54 [PATCH] arm64: replace in_irq() with in_hardirq() Changbin Du
@ 2021-08-20 18:50 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2021-08-20 18:50 UTC (permalink / raw)
  To: Changbin Du, Will Deacon; +Cc: linux-arm-kernel, linux-kernel

On Sat, 14 Aug 2021 08:54:05 +0800, Changbin Du wrote:
> Replace the obsolete and ambiguos macro in_irq() with new
> macro in_hardirq().

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: replace in_irq() with in_hardirq()
      https://git.kernel.org/arm64/c/090bf6f84b4d

-- 
Catalin


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-20 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-14  0:54 [PATCH] arm64: replace in_irq() with in_hardirq() Changbin Du
2021-08-20 18:50 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).