blob: 633a7159d5ffd09a76d774dce2974f6b2efce848 [file] [log] [blame]
Stephen Boyd4312a7e2012-09-05 12:28:52 -07001/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12#ifndef __MACH_COMMON_H
13#define __MACH_COMMON_H
14
15extern struct sys_timer msm7x01_timer;
16extern struct sys_timer msm7x30_timer;
Stephen Boyd6e332162012-09-05 12:28:53 -070017extern struct sys_timer msm_dt_timer;
Stephen Boyd4312a7e2012-09-05 12:28:52 -070018extern struct sys_timer qsd8x50_timer;
19
Stephen Boyd85a9f0f2012-09-05 12:28:57 -070020extern void msm_map_common_io(void);
21extern void msm_map_msm7x30_io(void);
22extern void msm_map_msm8x60_io(void);
23extern void msm_map_msm8960_io(void);
24extern void msm_map_qsd8x50_io(void);
25
26extern void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
27 unsigned int mtype, void *caller);
28
David Brownbe2109e2012-09-12 16:01:40 -070029extern struct smp_operations msm_smp_ops;
30extern void msm_cpu_die(unsigned int cpu);
Stephen Boyd85a9f0f2012-09-05 12:28:57 -070031
Stephen Boyd4312a7e2012-09-05 12:28:52 -070032#endif