Re: [PATCH] Unify crashkernel reservation for 32 and 64 bit
From: Bernhard Walle
Date: Fri Jun 20 2008 - 10:01:56 EST
* Ingo Molnar [2008-06-20 15:56]:
> * Bernhard Walle <bwalle@xxxxxxx> wrote:
>
> > This patch moves the reserve_crashkernel() to setup.c and removes the
> > architecture-specific version. Both versions were more or less the
> > same.
>
> famous last words :)
>
> can you see any functionality difference between them? If yes, that
> should be declared.
The only difference was the calculation of memory -- it's more
complicated on i386 because of high memory support, so that was
outsourced to an inline function. However, because the highmem is in
#ifdef CONFIG_HIGHMEM
#endif
and CONFIG_HIGHMEM is off on x86-64, that doesn't matter. Do you see
another issue?
I tested it on both x86-64 and i386, with CONFIG_KEXEC on and off (so
that it compiles).
Bernhard
--
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/