arm64: irqflags: Pass flags as readonly operand to restore instruction
authorJulien Thierry <julien.thierry@arm.com>
Tue, 11 Jun 2019 09:38:07 +0000 (10:38 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 21 Jun 2019 10:19:16 +0000 (11:19 +0100)
commit19c36b185a1d13f79f3a382e08695a2633155e5a
treed4205e732167bf368a34620f146ab59566162ae9
parent9034f6251572a4744597c51dea5ab73a55f2b938
arm64: irqflags: Pass flags as readonly operand to restore instruction

Flags are only read by the instructions doing the irqflags restore
operation. Pass the operand as read only to the asm inline instead of
read-write.

Cc: Will Deacon <will.deacon@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Mark Rutland <mark.rutland@ar.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/irqflags.h