From bc633e90bf3ef39b798e2cc417a890a9f72e95cd Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Wed, 29 Sep 2004 18:23:27 -0700 Subject: [PATCH] ppc64: Fix incorrect initialization of hash table on some pSeries The hash table wasn't fully initialized on some pSeries that had the workaround for no batching. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds --- arch/ppc64/mm/hash_native.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ppc64/mm/hash_native.c b/arch/ppc64/mm/hash_native.c index 7f1b174b4732..0d8c8ab197b1 100644 --- a/arch/ppc64/mm/hash_native.c +++ b/arch/ppc64/mm/hash_native.c @@ -407,13 +407,13 @@ void hpte_init_native(void) 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(); } -- cgit v1.2.3