Skip to contentSkip to conversation

cpumask: remove incorrect information from comment

PATCH In review Eric Biggers 2 participants 2 messages Feb 21, 2016 – Mar 1, 2016 Bitmap API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpumask: remove incorrect information from comment

Since commit cdfdef75e795f ("cpumask: only allocate nr_cpumask_bits."), this comment above cpumask_size() is no longer relevant.

---
 include/linux/cpumask.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/cpumask.h +0 -2
index fc14275..40cee6b 100644
@@ -607,8 +607,6 @@ static inline int cpulist_parse(const char *buf, struct cpumask *dstp)
 
 /**
  * cpumask_size - size to allocate for a 'struct cpumask' in bytes
- *
- * This will eventually be a runtime variable, depending on nr_cpu_ids.
  */
 static inline size_t cpumask_size(void)
 {
Signature · 1 line
2.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Eric Biggers

Since commit cdfdef75e795f ("cpumask: only allocate nr_cpumask_bits."), this comment above cpumask_size() is no longer relevant.

Quoted 19 lines
---
 include/linux/cpumask.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/cpumask.h +0 -2
index fc14275..40cee6b 100644
@@ -607,8 +607,6 @@ static inline int cpulist_parse(const char *buf, struct cpumask *dstp)
 
 /**
  * cpumask_size - size to allocate for a 'struct cpumask' in bytes
- *
- * This will eventually be a runtime variable, depending on nr_cpu_ids.
  */
 static inline size_t cpumask_size(void)
 {
Signature · 1 line
2.7.1