Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _CPUIDLE_HALTPOLL_H
0003 #define _CPUIDLE_HALTPOLL_H
0004 
0005 #ifdef CONFIG_ARCH_CPUIDLE_HALTPOLL
0006 #include <asm/cpuidle_haltpoll.h>
0007 #else
0008 static inline void arch_haltpoll_enable(unsigned int cpu)
0009 {
0010 }
0011 
0012 static inline void arch_haltpoll_disable(unsigned int cpu)
0013 {
0014 }
0015 #endif
0016 #endif