1 /* Copyright (c) 2012, The Linux Foundation. All rights reserved.
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.
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.
12 #ifndef __MACH_COMMON_H
13 #define __MACH_COMMON_H
15 extern struct sys_timer msm7x01_timer
;
16 extern struct sys_timer msm7x30_timer
;
17 extern struct sys_timer msm_dt_timer
;
18 extern struct sys_timer qsd8x50_timer
;
20 extern void msm_map_common_io(void);
21 extern void msm_map_msm7x30_io(void);
22 extern void msm_map_msm8x60_io(void);
23 extern void msm_map_msm8960_io(void);
24 extern void msm_map_qsd8x50_io(void);
26 extern void __iomem
*__msm_ioremap_caller(unsigned long phys_addr
, size_t size
,
27 unsigned int mtype
, void *caller
);
29 extern struct smp_operations msm_smp_ops
;
30 extern void msm_cpu_die(unsigned int cpu
);