diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2004-09-29 18:23:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-29 18:23:27 -0700 |
| commit | bc633e90bf3ef39b798e2cc417a890a9f72e95cd (patch) | |
| tree | ba3dcf2616eebb89488daf5133afeed472fb7e31 | |
| parent | e10f5c410be7a81dbfc7d63056513fadfb5777c6 (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.c | 4 |
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(); } |
