* [Patch] percpu_alloc: correct function prototypes
@ 2006-08-03 18:51 Martin Peschke
2006-08-03 18:53 ` Paul Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Martin Peschke @ 2006-08-03 18:51 UTC (permalink / raw)
To: Andrew Morton; +Cc: Paul Jackson, linux-kernel
This patch corrects a couple of inconsistencies regarding percpu_*()
function prototypes (type and name of parameters), which didn't cause
any harm, though.
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
---
percpu.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -ur a/include/linux/percpu.h b/include/linux/percpu.h
--- a/include/linux/percpu.h 29 Jul 2006 11:38:25 -0000 1.10
+++ b/include/linux/percpu.h 29 Jul 2006 13:13:09 -0000 1.11
@@ -41,7 +41,7 @@
extern int percpu_populate_mask(void *__pdata, size_t size, gfp_t gfp,
cpumask_t mask);
extern void percpu_depopulate_mask(void *__pdata, cpumask_t mask);
-extern void *percpu_alloc_mask(size_t size, gfp_t gfp, cpumask_t map);
+extern void *percpu_alloc_mask(size_t size, gfp_t gfp, cpumask_t mask);
extern void percpu_free(void *__pdata);
#else /* CONFIG_SMP */
@@ -63,12 +63,12 @@
}
static inline int percpu_populate_mask(void *__pdata, size_t size, gfp_t gfp,
- int cpu)
+ cpumask_t mask)
{
return 0;
}
-static inline void *percpu_alloc_mask(size_t size, gfp_t gfp, cpumask_t map)
+static inline void *percpu_alloc_mask(size_t size, gfp_t gfp, cpumask_t mask)
{
return kzalloc(size, gfp);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch] percpu_alloc: correct function prototypes
2006-08-03 18:51 [Patch] percpu_alloc: correct function prototypes Martin Peschke
@ 2006-08-03 18:53 ` Paul Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Paul Jackson @ 2006-08-03 18:53 UTC (permalink / raw)
To: Martin Peschke; +Cc: akpm, linux-kernel
Martin wrote:
> This patch corrects a couple of inconsistencies regarding percpu_*()
Acked-by: Paul Jackson <pj@sgi.com>
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-03 18:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-03 18:51 [Patch] percpu_alloc: correct function prototypes Martin Peschke
2006-08-03 18:53 ` Paul Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome