]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: msChunks cleanups
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 3 Aug 2005 10:21:23 +0000 (20:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 29 Aug 2005 00:53:35 +0000 (10:53 +1000)
commitda4c474a85b4785355dde6c70c821ecf0b6a65c8
tree98035e5581a0addfca935fa2d8afddfc7c56c631
parent55e625838e27a8b21669bf24eb16f5f97f1a777b
[PATCH] ppc64: msChunks cleanups

Chunks are 256KB, so use constants for the size/shift/mask, rather than
getting them from the msChunks struct. The iSeries debugger (??) might still
need access to the values in the msChunks struct, so we keep them around
for now, but set them from the constant values.

Replace msChunks_entry typedef with regular u32.

Simplify msChunks_alloc() to manipulate klimit directly, rather than via
a parameter.

Move msChunks_alloc() and msChunks into iSeries_setup.c, as that's where
they're used.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/LparData.c
arch/ppc64/kernel/iSeries_setup.c
include/asm-ppc64/abs_addr.h