Commit bc633e90 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Linus Torvalds

[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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e10f5c41
...@@ -407,13 +407,13 @@ void hpte_init_native(void) ...@@ -407,13 +407,13 @@ void hpte_init_native(void)
model = get_property(root, "model", NULL); model = get_property(root, "model", NULL);
if (!strcmp(model, "CHRP IBM,9076-N81")) { if (!strcmp(model, "CHRP IBM,9076-N81")) {
of_node_put(root); of_node_put(root);
return; goto bail;
} }
of_node_put(root); of_node_put(root);
} }
#endif /* CONFIG_PPC_PSERIES */ #endif /* CONFIG_PPC_PSERIES */
ppc_md.flush_hash_range = native_flush_hash_range; ppc_md.flush_hash_range = native_flush_hash_range;
bail:
htab_finish_init(); htab_finish_init();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment