From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>,
Olaf Hering <olh@suse.de>
Subject: [PATCH] ppc64: Fix incorrect initialization of hash table on some pSeries
Date: Thu, 30 Sep 2004 15:36:19 +1000 [thread overview]
Message-ID: <1096522579.301.1.camel@gaston> (raw)
Hi !
The hash table wasn't fully initialized on some pSeries that had
the workaround for no batching. Please apply.
===== 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();
}
next reply other threads:[~2004-09-30 5:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-30 5:36 Benjamin Herrenschmidt [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-09-30 5:39 [PATCH] ppc64: Fix incorrect initialization of hash table on some pSeries Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1096522579.301.1.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olh@suse.de \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox