arm64: xen: Use existing helper to check interrupt status
authorJulien Thierry <[email protected]>
Tue, 28 Aug 2018 15:51:17 +0000 (16:51 +0100)
committerCatalin Marinas <[email protected]>
Wed, 3 Oct 2018 15:14:11 +0000 (16:14 +0100)
commitb0506a8bbb42a859f6d25b3ecc4b6da93bae8d5a
treeaed7852a0677e7808f99022844d6a1f8faf2608b
parent9a0c032825e073e002ee80cf2577431d7296a7f7
arm64: xen: Use existing helper to check interrupt status

The status of interrupts might depend on more than just pstate. Use
interrupts_disabled() instead of raw_irqs_disabled_flags() to take the full
context into account.

Acked-by: Stefano Stabellini <[email protected]>
Signed-off-by: Julien Thierry <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/include/asm/xen/events.h