diff options
Diffstat (limited to 'include/linux/cpumask.h')
-rw-r--r-- | include/linux/cpumask.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index 75b565194437..d4a2a7dcd72d 100644 --- a/include/linux/cpumask.h +++ b/include/linux/cpumask.h | |||
@@ -640,7 +640,7 @@ static inline int cpulist_parse(const char *buf, struct cpumask *dstp) | |||
640 | /** | 640 | /** |
641 | * cpumask_size - size to allocate for a 'struct cpumask' in bytes | 641 | * cpumask_size - size to allocate for a 'struct cpumask' in bytes |
642 | */ | 642 | */ |
643 | static inline size_t cpumask_size(void) | 643 | static inline unsigned int cpumask_size(void) |
644 | { | 644 | { |
645 | return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); | 645 | return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); |
646 | } | 646 | } |