mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
9b97173e78
Several of the ioremap functions use unsigned long in places resulting in truncation if physical addresses greater than 4G are passed in. Change the types of the functions and the callers accordingly. Cc: Krzysztof Halasa <khc@pm.waw.pl> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that 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.
|
|
*/
|
|
#ifndef __MACH_COMMON_H
|
|
#define __MACH_COMMON_H
|
|
|
|
extern void msm7x01_timer_init(void);
|
|
extern void msm7x30_timer_init(void);
|
|
extern void msm_dt_timer_init(void);
|
|
extern void qsd8x50_timer_init(void);
|
|
|
|
extern void msm_map_common_io(void);
|
|
extern void msm_map_msm7x30_io(void);
|
|
extern void msm_map_msm8x60_io(void);
|
|
extern void msm_map_msm8960_io(void);
|
|
extern void msm_map_qsd8x50_io(void);
|
|
|
|
extern void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
|
|
unsigned int mtype, void *caller);
|
|
|
|
extern struct smp_operations msm_smp_ops;
|
|
extern void msm_cpu_die(unsigned int cpu);
|
|
|
|
#endif
|