summaryrefslogtreecommitdiff
path: root/kexec/crashdump.h
diff options
context:
space:
mode:
authorMagnus Damm <magnus@valinux.co.jp>2006-11-17 19:56:35 +0900
committerSimon Horman <horms@verge.net.au>2006-11-27 12:25:12 +0900
commit93bd94e000e78e81982d03db0e1ce54a54dad859 (patch)
treeb973dbc25af2758428be69a94b3e8ae738156997 /kexec/crashdump.h
parent920a98d04e4f97d0799a8e924e03a8a9721973aa (diff)
kexec-tools: Add length parameter to get_crash_notes_per_cpu()
kexec-tools: Add length parameter to get_crash_notes_per_cpu() Let get_crash_notes_per_cpu() pass both physical base address and length. Under Xen we export this information from the hypervisor, and it would be a nice improvement for the kernel to actually export the size too. So let's change the framework to use both base address and length. Signed-off-by: Magnus Damm <magnus@valinux.co.jp> Removed trainling whitespace Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump.h')
-rw-r--r--kexec/crashdump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/crashdump.h b/kexec/crashdump.h
index bb3649f..dd3c317 100644
--- a/kexec/crashdump.h
+++ b/kexec/crashdump.h
@@ -1,7 +1,7 @@
#ifndef CRASHDUMP_H
#define CRASHDUMP_H
-extern int get_crash_notes_per_cpu(int cpu, uint64_t *addr);
+extern int get_crash_notes_per_cpu(int cpu, uint64_t *addr, uint64_t *len);
/* Need to find a better way to determine per cpu notes section size. */
#define MAX_NOTE_BYTES 1024