Rev 6936 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6936 | Rev 7143 | ||
---|---|---|---|
Line 605... | Line 605... | ||
605 | return bitmap_parselist(buf, cpumask_bits(dstp), nr_cpu_ids); |
605 | return bitmap_parselist(buf, cpumask_bits(dstp), nr_cpu_ids); |
606 | } |
606 | } |
Line 607... | Line 607... | ||
607 | 607 | ||
608 | /** |
608 | /** |
609 | * cpumask_size - size to allocate for a 'struct cpumask' in bytes |
- | |
610 | * |
- | |
611 | * This will eventually be a runtime variable, depending on nr_cpu_ids. |
609 | * cpumask_size - size to allocate for a 'struct cpumask' in bytes |
612 | */ |
610 | */ |
613 | static inline size_t cpumask_size(void) |
611 | static inline size_t cpumask_size(void) |
614 | { |
612 | { |
615 | return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); |
613 | return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); |