perf: imx9_perf: make the read-only array mask static const
authorColin Ian King <colin.i.king@gmail.com>
Wed, 11 Jun 2025 13:39:17 +0000 (14:39 +0100)
committerWill Deacon <will@kernel.org>
Fri, 4 Jul 2025 17:05:47 +0000 (18:05 +0100)
commitb6e37b27bf6802fd4ec1446e05058da4e1ddce64
treed58f00e88c6a239711a08560671fa4bb195c73c2
parent8b177e9a4ecd09f2ae15b952cd88a0a3344ee5a0
perf: imx9_perf: make the read-only array mask static const

Don't populate the read-only array mask on the stack at run time,
instead make it static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250611133917.170888-1-colin.i.king@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/fsl_imx9_ddr_perf.c