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