aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-11-06 19:12:29 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-07 06:52:30 -0500
commitcd83e42c6b0413dcbb548c2ead799111ff7e6a13 (patch)
tree0110f8f39a8f88aacfbe4f0692b099373523edc0 /lib
parent2d3854a37e8b767a51aba38ed6d22817b0631e33 (diff)
cpumask: new API, v2
- add cpumask_of() - add free_bootmem_cpumask_var() Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
-rw-r--r--lib/cpumask.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/cpumask.c b/lib/cpumask.c
index 5ceb4211c834..2ebc3a9a7465 100644
--- a/lib/cpumask.c
+++ b/lib/cpumask.c
@@ -107,4 +107,9 @@ void free_cpumask_var(cpumask_var_t mask)
107 kfree(mask); 107 kfree(mask);
108} 108}
109EXPORT_SYMBOL(free_cpumask_var); 109EXPORT_SYMBOL(free_cpumask_var);
110
111void free_bootmem_cpumask_var(cpumask_var_t mask)
112{
113 free_bootmem((unsigned long)mask, cpumask_size());
114}
110#endif 115#endif