Two #defs LAZY_INTERRUPT_ENABLED and LAZY_INTERRUPT_DISABLED are added to be used when updating paca->soft_enabled.
Signed-off-by: Madhavan Srinivasan <ma...@linux.vnet.ibm.com> --- -If the macro names looks not right, kindly suggest arch/powerpc/include/asm/hw_irq.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/powerpc/include/asm/hw_irq.h b/arch/powerpc/include/asm/hw_irq.h index b59ac27a6b7d..e58c9d95050a 100644 --- a/arch/powerpc/include/asm/hw_irq.h +++ b/arch/powerpc/include/asm/hw_irq.h @@ -27,6 +27,13 @@ #define PACA_IRQ_EE_EDGE 0x10 /* BookE only */ #define PACA_IRQ_HMI 0x20 +/* + * flags for paca->soft_enabled + */ +#define LAZY_INTERRUPT_ENABLED 1 +#define LAZY_INTERRUPT_DISABLED 0 + + #endif /* CONFIG_PPC64 */ #ifndef __ASSEMBLY__ -- 2.7.4 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev