[PATCH] kdump ppc64: fix htab-size for non-lpar
Olof Johansson
olof at lixom.net
Fri Feb 17 01:26:54 EST 2006
On Thu, Feb 16, 2006 at 07:45:06PM +0530, R Sharada wrote:
> Hello,
> The htab-size calculated for kexec/kdump on 2.6 kernels was broken,
> leading to wrong value being exported to /proc/device-tree
> Here is a patch fixing it up.
Why you don't use htab_hash_mask in kexec instead of introducing a
global variable?
I.e. do htab_size = (htab_hash_mask + 1) * HASH_GROUP_SIZE in
export_htab_values()?
Saves a new global and a bunch of #ifdefs.
Thanks,
-Olof
More information about the Linuxppc64-dev
mailing list