]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm64/include/asm/irq_work.h
power_supply: Add support for tps65217-charger.
[karo-tx-linux.git] / arch / arm64 / include / asm / irq_work.h
index b4f6b19a8a685d0adba9b35534b6782b79b81043..8e24ef3f7c82c7c9dc7af7ea9b07c34ed27a7631 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef __ASM_IRQ_WORK_H
 #define __ASM_IRQ_WORK_H
 
-#ifdef CONFIG_SMP
-
 #include <asm/smp.h>
 
 static inline bool arch_irq_work_has_interrupt(void)
@@ -10,13 +8,4 @@ static inline bool arch_irq_work_has_interrupt(void)
        return !!__smp_cross_call;
 }
 
-#else
-
-static inline bool arch_irq_work_has_interrupt(void)
-{
-       return false;
-}
-
-#endif
-
 #endif /* __ASM_IRQ_WORK_H */