* [PATCH] fix PREEMPT_RT compile error on NUMA-Q
@ 2005-09-30 1:26 Paul E. McKenney
0 siblings, 0 replies; only message in thread
From: Paul E. McKenney @ 2005-09-30 1:26 UTC (permalink / raw)
To: linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-30 1:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 1:26 [PATCH] fix PREEMPT_RT compile error on NUMA-Q Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox