From: "Paul E. McKenney" <paulmck@us.ibm.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] fix PREEMPT_RT compile error on NUMA-Q
Date: Thu, 29 Sep 2005 18:26:22 -0700 [thread overview]
Message-ID: <20050930012621.GA9734@us.ibm.com> (raw)
The following patch fixes a fatal compile-time error on NUMA-Q, and
probably on any other NUMA machine, involving kmem_cache_alloc_node()'s
"flags" argument.
Signed-off-by: <paulmck@us.ibm.com>
---
slab.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -urpNa -X dontdiff linux-2.6.14-rc2-rt7/mm/slab.c linux-2.6.14-rc2-rt7-NUMA/mm/slab.c
--- linux-2.6.14-rc2-rt7/mm/slab.c 2005-09-29 13:57:16.000000000 -0700
+++ linux-2.6.14-rc2-rt7-NUMA/mm/slab.c 2005-09-29 17:40:28.000000000 -0700
@@ -2400,7 +2400,7 @@ out:
* and can sleep. And it will allocate memory on the given node, which
* can improve the performance for cpu bound structures.
*/
-void *kmem_cache_alloc_node(kmem_cache_t *cachep, int flags, int nodeid)
+void *kmem_cache_alloc_node(kmem_cache_t *cachep, unsigned int __nocast flags, int nodeid)
{
int loop;
void *objp;
reply other threads:[~2005-09-30 1:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050930012621.GA9734@us.ibm.com \
--to=paulmck@us.ibm.com \
--cc=linux-kernel@vger.kernel.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