[POWERPC] powerpc: Initialise ppc_md htab pointers earlier
Initialise the ppc_md htab callbacks earlier, in the probe routines. This allows us to call htab_finish_init() from htab_initialize(), and makes it private to hash_utils_64.c. Move htab_finish_init() and make_bl() above htab_initialize() to avoid forward declarations. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
7a4571ae55
commit
7d0daae4ae
@@ -318,11 +318,6 @@ static void __init iSeries_init_early(void)
|
||||
iSeries_recal_tb = get_tb();
|
||||
iSeries_recal_titan = HvCallXm_loadTod();
|
||||
|
||||
/*
|
||||
* Initialize the hash table management pointers
|
||||
*/
|
||||
hpte_init_iSeries();
|
||||
|
||||
/*
|
||||
* Initialize the DMA/TCE management
|
||||
*/
|
||||
@@ -671,6 +666,8 @@ static int __init iseries_probe(void)
|
||||
*/
|
||||
virt_irq_max = 255;
|
||||
|
||||
hpte_init_iSeries();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user