projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e10f98
)
arm64: replace in_irq() with in_hardirq()
author
Changbin Du
<changbin.du@gmail.com>
Sat, 14 Aug 2021 00:54:05 +0000
(08:54 +0800)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Fri, 20 Aug 2021 18:49:38 +0000
(19:49 +0100)
Replace the obsolete and ambiguos macro in_irq() with new
macro in_hardirq().
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Link:
https://lore.kernel.org/r/20210814005405.2658-1-changbin.du@gmail.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/simd.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/simd.h
b/arch/arm64/include/asm/simd.h
index
89cba26
..
6a75d7e
100644
(file)
--- 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_
hard
irq() && !irqs_disabled() && !in_nmi() &&
!this_cpu_read(fpsimd_context_busy);
}