[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <874ngnycys.fsf@rustcorp.com.au>
Date: Thu, 07 Mar 2013 16:51:23 +1100
From: Rusty Russell <rusty@...tcorp.com.au>
To: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Cc: LAK <linux-arm-kernel@...ts.infradead.org>,
John Stultz <john.stultz@...aro.org>,
Arjan van de Veen <arjan@...radead.org>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Santosh Shilimkar <santosh.shilimkar@...com>,
Jason Liu <liu.h.jason@...il.com>
Subject: Re: [patch 2/7] tick: Convert broadcast cpu bitmaps to cpumask_var_t
Thomas Gleixner <tglx@...utronix.de> writes:
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: Rusty Russell <rusty@...tcorp.com.au>
> ---
> kernel/time/tick-broadcast.c | 86 +++++++++++++++++++++----------------------
> kernel/time/tick-common.c | 1
> kernel/time/tick-internal.h | 3 +
> 3 files changed, 46 insertions(+), 44 deletions(-)
>
> Index: tip/kernel/time/tick-broadcast.c
> ===================================================================
> --- tip.orig/kernel/time/tick-broadcast.c
> +++ tip/kernel/time/tick-broadcast.c
> @@ -28,9 +28,8 @@
> */
>
> static struct tick_device tick_broadcast_device;
> -/* FIXME: Use cpumask_var_t. */
> -static DECLARE_BITMAP(tick_broadcast_mask, NR_CPUS);
> -static DECLARE_BITMAP(tmpmask, NR_CPUS);
> +static cpumask_var_t tick_broadcast_mask;
> +static cpumask_var_t tmpmask;
> static DEFINE_RAW_SPINLOCK(tick_broadcast_lock);
> static int tick_broadcast_force;
Thanks, this is a nice cleanup.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists