[PATCH] htab code cleanup
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sun Jan 16 09:36:37 EST 2005
On Thu, 2005-01-06 at 14:51 +1100, Stephen Rothwell wrote:
> Hi all,
>
> This patch just does some small clean ups on the hash page table code
> - make htab_address static with in htab_native.c
> - move some code that depended on CONFIG_PPC_MULTIPLATFORM
> from htab_utils.c to htab_native.c (on less CONFIG check).
> - clean up includes in htab_utils.c
I don't see the point of moving create_pte_mapping() and
htab_initialize() to htab_native.c since it contains code for both
native and non-native...
If you want to get rid of the htab_address, then maybe split
htab_initialize in bits... like htab_native_init() and htab_plpar_init()
for the early ptr setup, that sort of thing ...
Ben.
More information about the Linuxppc64-dev
mailing list