From: Zhang Yanfei Date: Thu, 28 Mar 2013 08:15:35 +0000 (+0800) Subject: sysfs: Add crash_notes_size to export percpu note size X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~138^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eca4549f57a19f8881dcd7b9cef719b3452003c0;p=pandora-kernel.git sysfs: Add crash_notes_size to export percpu note size For percpu notes, we are exporting only address and not size. So the userspace tool kexec-tools is putting an upper limit of 1024 and putting the value in p_memsz and p_filesz fields. So the patch add the new sysfile crash_notes_size to export the exact percpu note size and let the kexec-tools parse it intead of using 1024. The idea came from Vivek Goyal. And a later patch will be sent to kexec-tools to let it parse the size. Cc: "Eric W. Biederman" Cc: Vivek Goyal Signed-off-by: Zhang Yanfei Acked-by: Simon Horman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed