From 93bd94e000e78e81982d03db0e1ce54a54dad859 Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Fri, 17 Nov 2006 19:56:35 +0900 Subject: 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 Removed trainling whitespace Signed-off-by: Simon Horman --- kexec/crashdump.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kexec/crashdump.h') 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 -- cgit