lib,cpuset: fix comments for cpu mask/list functions

The comments for cpumask_parse() and cpulist_parse() each describe
the wrong function. Just exchange the comments.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
Heiko Carstens 2011-09-09 11:19:30 +02:00 committed by Karel Zak
parent cbdf0a8165
commit 68845fed01
1 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ char *cpumask_create(char *str, size_t len,
}
/*
* Parses string with list of CPU ranges.
* Parses string with CPUs mask.
*/
int cpumask_parse(const char *str, cpu_set_t *set, size_t setsize)
{
@ -262,7 +262,7 @@ int cpumask_parse(const char *str, cpu_set_t *set, size_t setsize)
}
/*
* Parses string with CPUs mask.
* Parses string with list of CPU ranges.
*/
int cpulist_parse(const char *str, cpu_set_t *set, size_t setsize, int fail)
{