cpuidle.h 766 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * Copyright (c) 2013, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

14 15
#ifndef __SOC_TEGRA_CPUIDLE_H__
#define __SOC_TEGRA_CPUIDLE_H__
16

17
#ifdef CONFIG_CPU_IDLE
18
void tegra_cpuidle_pcie_irqs_in_use(void);
19 20 21 22 23
#else
static inline void tegra_cpuidle_pcie_irqs_in_use(void)
{
}
#endif
24

25
#endif /* __SOC_TEGRA_CPUIDLE_H__ */