summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/bitmap.h2
-rw-r--r--include/linux/cpumask.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 97fec37b1029..2ad5fb97fa26 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
@@ -41,7 +41,7 @@ void bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
void bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
const unsigned long *bitmap2, int bits);
int bitmap_weight(const unsigned long *bitmap, int bits);
-int bitmap_snprintf(char *buf, unsigned int buflen,
+int bitmap_scnprintf(char *buf, unsigned int buflen,
const unsigned long *maskp, int bits);
int bitmap_parse(const char __user *ubuf, unsigned int ubuflen,
unsigned long *maskp, int bits);
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index f19587e5c71a..5731bdb3c7d8 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -32,8 +32,8 @@ extern cpumask_t cpu_possible_map;
#define for_each_online_cpu(cpu) for (cpu = 0; cpu < 1; cpu++)
#endif
-#define cpumask_snprintf(buf, buflen, map) \
- bitmap_snprintf(buf, buflen, cpus_addr(map), NR_CPUS)
+#define cpumask_scnprintf(buf, buflen, map) \
+ bitmap_scnprintf(buf, buflen, cpus_addr(map), NR_CPUS)
#define cpumask_parse(buf, buflen, map) \
bitmap_parse(buf, buflen, cpus_addr(map), NR_CPUS)