[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170130.173313.1658478542391677325.davem@davemloft.net>
Date: Mon, 30 Jan 2017 17:33:13 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bhumirks@...il.com
Cc: julia.lawall@...6.fr, sparclinux@...r.kernel.org,
keescook@...omium.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sparc32: mm: srmmu: add __ro_after_init to
sparc32_cachetlb_ops structures
From: Bhumika Goyal <bhumirks@...il.com>
Date: Sat, 14 Jan 2017 18:01:54 +0530
> The objects viking_ops, viking_sun4d_smp_ops and smp_cachetlb_ops of
> type sparc32_cachetlb_ops are not modified anywhere after getting modified
> in the init functions. Inside init their reference is also stored in a
> pointer of type const struct sparc32_cachetlb_ops *. So these structures
> are never modified after init, therefore add __ro_after to the declaration
> of these structures.
>
> Signed-off-by: Bhumika Goyal <bhumirks@...il.com>
Applied, thanks.
Powered by blists - more mailing lists