Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1346298
| From | Rusty Russell <rusty@rustcorp.com.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] cpumask: remove incorrect information from comment |
| Date | 2016-03-01 03:10 +0100 |
| Message-ID | <r7HVa-2Mh-13@gated-at.bofh.it> (permalink) |
| References | <r4H5g-1GU-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Eric Biggers <ebiggers3@gmail.com> writes:
> Since commit cdfdef75e795f ("cpumask: only allocate nr_cpumask_bits."),
> this comment above cpumask_size() is no longer relevant.
>
> Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
> ---
> include/linux/cpumask.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
> index fc14275..40cee6b 100644
> --- a/include/linux/cpumask.h
> +++ b/include/linux/cpumask.h
> @@ -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)
> {
> --
> 2.7.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] cpumask: remove incorrect information from comment Rusty Russell <rusty@rustcorp.com.au> - 2016-03-01 03:10 +0100
csiph-web