]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit34c8f6961fc601294a38c5bd5ca12131b2e52674
tree98035e5581a0addfca935fa2d8afddfc7c56c631
parent38e85dc18036804ada8698951cfad4e6114fec1b
[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