1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _CPUIDLE_HALTPOLL_H 3 #define _CPUIDLE_HALTPOLL_H 4 5 #ifdef CONFIG_ARCH_CPUIDLE_HALTPOLL 6 #include <asm/cpuidle_haltpoll.h> 7 #else 8 static inline void arch_haltpoll_enable(unsigned int cpu) 9 { 10 } 11 12 static inline void arch_haltpoll_disable(unsigned int cpu) 13 { 14 } 15 #endif 16 #endif 17