diff options
Diffstat (limited to 'arch/arm/mach-tegra/tegra2_statmon.h')
-rw-r--r-- | arch/arm/mach-tegra/tegra2_statmon.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra2_statmon.h b/arch/arm/mach-tegra/tegra2_statmon.h new file mode 100644 index 00000000000..ae1094eb1c3 --- /dev/null +++ b/arch/arm/mach-tegra/tegra2_statmon.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-tegra/tegra2_statmon.h | ||
3 | * | ||
4 | * Copyright (c) 2011, NVIDIA Corporation. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | * more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
19 | */ | ||
20 | |||
21 | #ifdef CONFIG_TEGRA_STAT_MON | ||
22 | int tegra2_statmon_start(void); | ||
23 | void tegra2_statmon_stop(void); | ||
24 | #else | ||
25 | static inline int tegra2_statmon_start(void) | ||
26 | { | ||
27 | return 0; | ||
28 | } | ||
29 | |||
30 | static inline void tegra2_statmon_stop(void) | ||
31 | { | ||
32 | } | ||
33 | #endif | ||