diff options
author | Liu Hua <sdu.liu@huawei.com> | 2014-06-05 19:20:07 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-06-06 16:01:33 +0900 |
commit | 4362bfaca4d8d2a4380532880f0d08c2bf14184e (patch) | |
tree | e86f262f0248dce1546998ce516d3dfe5a886de0 /kexec/arch/arm/crashdump-arm.c | |
parent | 272ceb535415437041f989278635ac8de729cd6b (diff) |
kexec: iomem: accept u64 parameters for callbacks
Since "start" and "end" in kexec_iomem_for_each_line
are unsigned long long, this patch makes "callback"s
accept unsigned-long-long-type parameters.
Signed-off-by: Wei Jitao <weijitao@huawei.com>
Signed-off-by: Liu Hua <sdu.liu@huawei.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/arm/crashdump-arm.c')
-rw-r--r-- | kexec/arch/arm/crashdump-arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/arm/crashdump-arm.c b/kexec/arch/arm/crashdump-arm.c index d124974..726c1e9 100644 --- a/kexec/arch/arm/crashdump-arm.c +++ b/kexec/arch/arm/crashdump-arm.c @@ -134,8 +134,8 @@ static int get_kernel_page_offset(struct kexec_info *info, * regions is placed in @crash_memory_nr_ranges. */ static int crash_range_callback(void *UNUSED(data), int UNUSED(nr), - char *str, unsigned long base, - unsigned long length) + char *str, unsigned long long base, + unsigned long long length) { struct memory_range *range; |