Searched hist:"59 d697a9" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/perf/hisilicon/ |
H A D | hisi_uncore_sllc_pmu.c | 59d697a9 Sat Jun 05 17:15:14 CDT 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> perf/hisi: Constify static attribute_group structs
These are only put in an array of pointers to const attribute_group structs. Make them const like the other static attribute_group structs to allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20210605221514.73449-1-rikard.falkeborn@gmail.com Signed-off-by: Will Deacon <will@kernel.org>
|
H A D | hisi_uncore_pa_pmu.c | 59d697a9 Sat Jun 05 17:15:14 CDT 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> perf/hisi: Constify static attribute_group structs
These are only put in an array of pointers to const attribute_group structs. Make them const like the other static attribute_group structs to allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20210605221514.73449-1-rikard.falkeborn@gmail.com Signed-off-by: Will Deacon <will@kernel.org>
|