2019-07-04 07:51:29 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _CPUIDLE_HALTPOLL_H
|
|
|
|
#define _CPUIDLE_HALTPOLL_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_ARCH_CPUIDLE_HALTPOLL
|
|
|
|
#include <asm/cpuidle_haltpoll.h>
|
|
|
|
#else
|
2019-09-02 18:40:31 +08:00
|
|
|
static inline void arch_haltpoll_enable(unsigned int cpu)
|
2019-07-04 07:51:29 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-09-02 18:40:31 +08:00
|
|
|
static inline void arch_haltpoll_disable(unsigned int cpu)
|
2019-07-04 07:51:29 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|