From: Helge Deller Date: Fri, 10 May 2019 18:53:46 +0000 (+0200) Subject: parisc: Use __ro_after_init in perf_images.h X-Git-Tag: Ubuntu-5.13.0-19.19~8538^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=67266fd48f0f6cb42838aeac2ef55417640ad1b5;p=mirror_ubuntu-jammy-kernel.git parisc: Use __ro_after_init in perf_images.h Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/perf_images.h b/arch/parisc/kernel/perf_images.h index 7fef9644df47..c108fee989d9 100644 --- a/arch/parisc/kernel/perf_images.h +++ b/arch/parisc/kernel/perf_images.h @@ -25,7 +25,7 @@ #define PCXU_IMAGE_SIZE 584 -static uint32_t onyx_images[][PCXU_IMAGE_SIZE/sizeof(uint32_t)] __read_mostly = { +static uint32_t onyx_images[][PCXU_IMAGE_SIZE/sizeof(uint32_t)] __ro_after_init = { /* * CPI: * @@ -2093,7 +2093,7 @@ static uint32_t onyx_images[][PCXU_IMAGE_SIZE/sizeof(uint32_t)] __read_mostly = }; #define PCXW_IMAGE_SIZE 576 -static uint32_t cuda_images[][PCXW_IMAGE_SIZE/sizeof(uint32_t)] __read_mostly = { +static uint32_t cuda_images[][PCXW_IMAGE_SIZE/sizeof(uint32_t)] __ro_after_init = { /* * CPI: FROM CPI.IDF (Image 0) *