Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239184

Re: [PATCH 3/5] drivers/base/cpu.c: use __cpu_*_mask directly

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] drivers/base/cpu.c: use __cpu_*_mask directly
Date 2015-10-04 21:10 +0200
Message-ID <qfWPw-Ok-19@gated-at.bofh.it> (permalink)
References <qcFUR-VU-11@gated-at.bofh.it> <qcFUR-VU-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 25, 2015 at 08:22:25PM +0200, Rasmus Villemoes wrote:
> The only user of the lvalue-ness of the cpu_*_mask variables is in
> drivers/base/cpu.c, and that is mostly a work-around for the fact that
> not even const variables can be used in static initialization. Now
> that the underlying struct cpumasks are exposed we can take their
> address.
> 
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 3/5] drivers/base/cpu.c: use __cpu_*_mask directly Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-09-25 20:30 +0200
  Re: [PATCH 3/5] drivers/base/cpu.c: use __cpu_*_mask directly Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-04 21:10 +0200

csiph-web