kdump: report actual value of VMCOREINFO_OSRELEASE in VMCOREINFO
authorBernhard Walle <bwalle@suse.de>
Tue, 5 Aug 2008 20:01:05 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Aug 2008 21:33:46 +0000 (14:33 -0700)
commitc6e2bee26eee190b20cd87e71b288bca6a5357a4
tree63c3db3e448e844fa60cc1f9a85a25bd970559f0
parent775587b6d769af3ba779a12ce790db4ccf0d1676
kdump: report actual value of VMCOREINFO_OSRELEASE in VMCOREINFO

The current implementation reports the structure name as
VMCOREINFO_OSRELEASE in VMCOREINFO, e.g.

        VMCOREINFO_OSRELEASE=init_uts_ns.name.release

That doesn't make sense because it's always the same. Instead, use the
value, e.g.

        VMCOREINFO_OSRELEASE=2.6.26-rc3

That's also what the 'makedumpfile -g' does.

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Cc: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kexec.h