]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC32]: Remove superfluous 'kernel_end' alignment on sun4c.
authorMark Fortescue <mark@mtfhpc.demon.co.uk>
Wed, 15 Aug 2007 01:24:10 +0000 (18:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2007 01:24:10 +0000 (18:24 -0700)
commit19f1a5d9938b39c0b22bf91872bc3e6e82a9dfc8
treeed12c469c91a357570fe991b41657a05de039e89
parent75055bbf4d6a6906cf34dab082fea3cb9c46e3ad
[SPARC32]: Remove superfluous 'kernel_end' alignment on sun4c.

In sun4c_init_clean_mmu(), aligning 'kernel_end' using
SUN4C_REAL_PGDIR_ALIGN() is unnecessary since the caller
does this already.

In sun4c_paging_init(), 4 page sizes of "fluff" were added
to the address of &end.  This was necessary a long time ago
when sparc32 would allocate some early data structures
by carving out memory chunks after &end but that no longer
occurs.

Signed-off-by: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/sun4c.c