summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc64/crashdump-ppc64.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2008-10-10 09:30:53 +1100
committerSimon Horman <horms@verge.net.au>2008-10-10 09:32:39 +1100
commita96b5c237919e6761260efa83cc6f9d455c25ac1 (patch)
treeebfd065ad8473019512e6abf82e0170cce3d73a8 /kexec/arch/ppc64/crashdump-ppc64.c
parent84aa7cf2468c2921d61d4cb97c1df670a470ea8b (diff)
Fix declaration of get_dyn_reconf_crash_memory_ranges()
powerpc64-unknown-linux-gnu-gcc (GCC) 4.1.1 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. kexec/arch/ppc64/crashdump-ppc64.c:125: warning: function declaration isn't a prototype Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc64/crashdump-ppc64.c')
-rw-r--r--kexec/arch/ppc64/crashdump-ppc64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/ppc64/crashdump-ppc64.c b/kexec/arch/ppc64/crashdump-ppc64.c
index 3ca575c..00031b6 100644
--- a/kexec/arch/ppc64/crashdump-ppc64.c
+++ b/kexec/arch/ppc64/crashdump-ppc64.c
@@ -121,7 +121,7 @@ static void exclude_crash_region(uint64_t start, uint64_t end)
}
}
-static int get_dyn_reconf_crash_memory_ranges()
+static int get_dyn_reconf_crash_memory_ranges(void)
{
uint64_t start, end;
char fname[128], buf[32];