// SPDX-License-Identifier: GPL-2.0-only /* * poll_state.c - Polling idle state */ #include <linux/cpuidle.h> #include <linux/sched.h> #include <linux/sched/clock.h> #include <linux/sched/idle.h> #define POLL_IDLE_RELAX_COUNT … static int __cpuidle poll_idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) { … } void cpuidle_poll_state_init(struct cpuidle_driver *drv) { … } EXPORT_SYMBOL_GPL(…);