[PATCH] ppc64: Fix incorrect initialization of hash table on some pSeries
From: Benjamin Herrenschmidt (benh_at_kernel.crashing.org)
Date: 09/30/04
- Previous message: Chris Friesen: "Re: [RFC][PATCH] inotify 0.10.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Andrew Morton <akpm@osdl.org> Date: Thu, 30 Sep 2004 15:39:55 +1000
Hi !
The hash table wasn't fully initialized on some pSeries that had
the workaround for no batching. Please apply.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
===== arch/ppc64/mm/hash_native.c 1.18 vs edited =====
--- 1.18/arch/ppc64/mm/hash_native.c 2004-09-22 14:40:30 +10:00
+++ edited/arch/ppc64/mm/hash_native.c 2004-09-30 15:34:39 +10:00
@@ -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();
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Chris Friesen: "Re: [RFC][PATCH] inotify 0.10.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- [PATCH] ppc64: Fix incorrect initialization of hash table on some pSeries
... the workaround for no batching. ... To unsubscribe from this list:
send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: xterm wont start
... to use the following workaround in my app-defaults file for XTerm: ...
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - Re: [PATCH] Blacklist binary-only modules lying about their license
... Chris, ... I repeat, the \0 is purely a technical workaround, done without
any ... >> pretending that all the fuss was only about that silly '\0' byte they
... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: ispell/aspell in TeX mode.
... A workaround for this problem is to put ... spellchecker and the human typist/proofreader.
... More information about the inputenc package is available from ... To UNSUBSCRIBE,
email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - Re: sigill (illegal instruction) in latest nvidia 169.12 in lenny
... disable instructions your processor does not have. ... One question - the workaround
suggests setting an environment variable ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... Trouble? ... (Debian-User)