summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2004-09-29 18:23:27 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-29 18:23:27 -0700
commitbc633e90bf3ef39b798e2cc417a890a9f72e95cd (patch)
treeba3dcf2616eebb89488daf5133afeed472fb7e31
parente10f5c410be7a81dbfc7d63056513fadfb5777c6 (diff)
[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 <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/ppc64/mm/hash_native.c4
1 files 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();
}