diff options
author | Tejun Heo <tj@kernel.org> | 2013-03-12 11:30:04 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-03-12 11:30:04 -0700 |
commit | ba630e4940924ad1962883c207a62890778ced63 (patch) | |
tree | 5542e7ac7cec8c6d20851374c140805db387f10c /Documentation/x86/i386 | |
parent | 8719dceae2f98a578507c0f6b49c93f320bd729c (diff) |
cpumask: implement cpumask_parse()
We have cpulist_parse() but not cpumask_parse(). Implement it using
bitmap_parse().
bitmap_parse() is weird in that it takes @len for a string in
kernel-memory which also is inconsistent with bitmap_parselist().
Make cpumask_parse() calculate the length and don't expose the
inconsistency to cpumask users. Maybe we can fix up bitmap_parse()
later.
This will be used to expose workqueue cpumask knobs to userland via
sysfs.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation/x86/i386')
0 files changed, 0 insertions, 0 deletions