ppc64: Fix incorrect initialization of hash table on some pSeries
PATCH 1/1 ppc64: Fix incorrect initialization of hash table on some pSeries
Hi !
The hash table wasn't fully initialized on some pSeries that had the workaround for no batching. Please apply.
===== arch/ppc64/mm/hash_native.c 1.18 vs edited =====
arch/ppc64/mm/hash_native.c +2 -2
@@ -407,13 +407,13 @@ model =get_property (root,"model" ,NULL );if (!strcmp (model,"CHRP IBM,9076-N81" )) {of_node_put (root); -return ; + goto bail; } of_node_put(root); }#endif /* CONFIG_PPC_PSERIES */ ppc_md.flush_hash_range = native_flush_hash_range; - + bail:htab_finish_init (); }