summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@in.ibm.com>2006-04-03 16:38:11 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-04-07 09:44:30 -0700
commit72ecdfb827a267b5fb5b20016175be21b0b0f953 (patch)
tree8f35c74eaf0c56b9565a7ededc714984ad9bd103 /include
parent01ede1fd9200b73b2ec4f906fb6af94e93577504 (diff)
downloadkernel-common-72ecdfb827a267b5fb5b20016175be21b0b0f953.tar.gz
kernel-common-72ecdfb827a267b5fb5b20016175be21b0b0f953.tar.bz2
kernel-common-72ecdfb827a267b5fb5b20016175be21b0b0f953.zip
[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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/proc_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index aa6322d45198..6c1e3478775a 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -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;
};