[PATCH] kdump proc vmcore size oveflow fix
A couple of /proc/vmcore data structures overflow with 32bit systems having memory more than 4G. This patch fixes those. Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
01ede1fd92
commit
72ecdfb827
@@ -78,7 +78,7 @@ struct kcore_list {
|
||||
struct vmcore {
|
||||
struct list_head list;
|
||||
unsigned long long paddr;
|
||||
unsigned long size;
|
||||
unsigned long long size;
|
||||
loff_t offset;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user