Marcelo Tosatti | a1c4423 | 2019-07-03 20:51:29 -0300 | [diff] [blame] | 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 |
Joao Martins | 97d3eb9 | 2019-09-02 11:40:31 +0100 | [diff] [blame] | 8 | static inline void arch_haltpoll_enable(unsigned int cpu) |
Marcelo Tosatti | a1c4423 | 2019-07-03 20:51:29 -0300 | [diff] [blame] | 9 | { |
| 10 | } |
| 11 | |
Joao Martins | 97d3eb9 | 2019-09-02 11:40:31 +0100 | [diff] [blame] | 12 | static inline void arch_haltpoll_disable(unsigned int cpu) |
Marcelo Tosatti | a1c4423 | 2019-07-03 20:51:29 -0300 | [diff] [blame] | 13 | { |
| 14 | } |
| 15 | #endif |
| 16 | #endif |