perf/x86: Fix broken LBR fixup code
[linux-2.6.git] / arch / arm / mach-tegra / board.h
blob65014968fc6c05ad1144c421856034b40756f037
1 /*
2 * arch/arm/mach-tegra/board.h
4 * Copyright (C) 2010 Google, Inc.
6 * Author:
7 * Colin Cross <ccross@google.com>
8 * Erik Gilling <konkers@google.com>
10 * This software is licensed under the terms of the GNU General Public
11 * License version 2, as published by the Free Software Foundation, and
12 * may be copied, distributed, and modified under those terms.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 #ifndef __MACH_TEGRA_BOARD_H
22 #define __MACH_TEGRA_BOARD_H
24 #include <linux/types.h>
26 void tegra_assert_system_reset(char mode, const char *cmd);
28 void __init tegra20_init_early(void);
29 void __init tegra30_init_early(void);
30 void __init tegra_map_common_io(void);
31 void __init tegra_init_irq(void);
32 void __init tegra_dt_init_irq(void);
33 int __init tegra_pcie_init(bool init_port0, bool init_port1);
35 void tegra_init_late(void);
37 #ifdef CONFIG_DEBUG_FS
38 int tegra_clk_debugfs_init(void);
39 #else
40 static inline int tegra_clk_debugfs_init(void) { return 0; }
41 #endif
43 #if defined(CONFIG_ARCH_TEGRA_2x_SOC) && defined(CONFIG_DEBUG_FS)
44 int __init tegra_powergate_debugfs_init(void);
45 #else
46 static inline int tegra_powergate_debugfs_init(void) { return 0; }
47 #endif
49 extern struct sys_timer tegra_timer;
50 #endif