We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c5ec7 commit 9eef29dCopy full SHA for 9eef29d
arch/arm64/kernel/entry.S
@@ -499,20 +499,6 @@ tsk .req x28 // current thread_info
499
irq_stack_exit
500
.endm
501
502
-#ifdef CONFIG_ARM64_PSEUDO_NMI
503
- /*
504
- * Set res to 0 if irqs were unmasked in interrupted context.
505
- * Otherwise set res to non-0 value.
506
- */
507
- .macro test_irqs_unmasked res:req, pmr:req
508
-alternative_if ARM64_HAS_IRQ_PRIO_MASKING
509
- sub \res, \pmr, #GIC_PRIO_IRQON
510
-alternative_else
511
- mov \res, xzr
512
-alternative_endif
513
- .endm
514
-#endif
515
-
516
.macro gic_prio_kentry_setup, tmp:req
517
#ifdef CONFIG_ARM64_PSEUDO_NMI
518
alternative_if ARM64_HAS_IRQ_PRIO_MASKING
0 commit comments