mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
Currently, irqflags are saved before calling runtime services and checked for mismatch on return. Provide a pair of overridable macros to save and restore (if needed) the state that need to be preserved on return from a runtime service. This allows to check for flags that are not necesarly related to irqflags. Signed-off-by: Julien Thierry <[email protected]> Acked-by: Catalin Marinas <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Acked-by: Marc Zyngier <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: [email protected] Signed-off-by: Catalin Marinas <[email protected]>