cpuidle_haltpoll.h 312 B

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