parisc: Use __ro_after_init in perf_images.h
authorHelge Deller <deller@gmx.de>
Fri, 10 May 2019 18:53:46 +0000 (20:53 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 10 May 2019 19:00:44 +0000 (21:00 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/perf_images.h

index 7fef964..c108fee 100644 (file)
@@ -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)
  *