Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.19 21 lines 401 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_CPUIDLE_H 3#define __ASM_CPUIDLE_H 4 5#include <asm/proc-fns.h> 6 7#ifdef CONFIG_CPU_IDLE 8extern int arm_cpuidle_init(unsigned int cpu); 9extern int arm_cpuidle_suspend(int index); 10#else 11static inline int arm_cpuidle_init(unsigned int cpu) 12{ 13 return -EOPNOTSUPP; 14} 15 16static inline int arm_cpuidle_suspend(int index) 17{ 18 return -EOPNOTSUPP; 19} 20#endif 21#endif