xref: /linux/include/linux/cpuidle_haltpoll.h (revision 976e3645923bdd2fe7893aae33fd7a21098bfb28)
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
arch_haltpoll_enable(unsigned int cpu)8 static inline void arch_haltpoll_enable(unsigned int cpu)
9 {
10 }
11 
arch_haltpoll_disable(unsigned int cpu)12 static inline void arch_haltpoll_disable(unsigned int cpu)
13 {
14 }
15 #endif
16 #endif
17