[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:
Vivek Goyal
2006-04-03 16:38:11 -07:00
committed by Greg Kroah-Hartman
parent 01ede1fd92
commit 72ecdfb827
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
};