Re: [PATCH 2/3] drivers/irqchip: update supports_deactivate static key to modern api

From: Peter Zijlstra
Date: Mon Mar 26 2018 - 04:34:45 EST


On Sun, Mar 25, 2018 at 12:10:55PM -0700, Davidlohr Bueso wrote:
> @@ -61,7 +61,7 @@ struct gic_chip_data {
> };
>
> static struct gic_chip_data gic_data __read_mostly;
> -static struct static_key supports_deactivate = STATIC_KEY_INIT_TRUE;
> +DEFINE_STATIC_KEY_TRUE(supports_deactivate_key);

static DEFINE_STATIC_KEY_TRUE();