summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2019-05-10 20:53:46 +0200
committerHelge Deller <deller@gmx.de>2019-05-10 21:00:44 +0200
commit67266fd48f0f6cb42838aeac2ef55417640ad1b5 (patch)
tree6f8ea2e183484fbf5eed77526db30a4594db6894 /arch
parentparisc: Use __ro_after_init in pci.c (diff)
downloadlinux-67266fd48f0f6cb42838aeac2ef55417640ad1b5.tar.xz
linux-67266fd48f0f6cb42838aeac2ef55417640ad1b5.zip
parisc: Use __ro_after_init in perf_images.h
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/kernel/perf_images.h4
1 files changed, 2 insertions, 2 deletions
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)
*