[PATCH] Parse 64 bit VMCOREINFO on 32 bit userland
Bernhard Walle
bwalle at suse.de
Fri Nov 28 02:46:02 EST 2008
* Ken'ichi Ohmichi [2008-11-28 10:16]:
>
> > Signed-off-by: Bernhard Walle <bwalle at suse.de>
> >
> > ---
> > makedumpfile.c | 7 +++----
> > 1 file changed, 3 insertions(+), 4 deletions(-)
> >
> > --- a/makedumpfile.c
> > +++ b/makedumpfile.c
> > @@ -13,7 +13,6 @@
> > * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > * GNU General Public License for more details.
> > */
> > -#include <stdlib.h>
>
> This is not related to this purpose, but this is reasonable and will
> be merged as the other patch ;-)
Yes ;)
> > @@ -2274,7 +2273,7 @@ read_vmcoreinfo_basic_info(void)
> > unsigned long
>
> unsigned long long ?
Right! Thanks for catching that. It worked in my case without that, but
probably because the symbol wasn't needed and only parsed with -c -D0.
I'll send a new patch later when I'm in the office ...
Bernhard
--
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development
More information about the kexec
mailing list