diff options
author | Helge Deller <deller@gmx.de> | 2019-05-10 20:56:16 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-05-10 21:00:45 +0200 |
commit | 4e617c86ba9be5211643e53f5f69d1195c956d68 (patch) | |
tree | 2d7624df4ed08479134c22168876e7d4e62a90a1 /arch/parisc | |
parent | 47293774c49c174c9863a60a757b825299ddf649 (diff) | |
download | linux-4e617c86ba9be5211643e53f5f69d1195c956d68.tar.gz linux-4e617c86ba9be5211643e53f5f69d1195c956d68.tar.bz2 linux-4e617c86ba9be5211643e53f5f69d1195c956d68.zip |
parisc: Use __ro_after_init in init.c
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/mm/init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index b99bcbf1ecdb..5a68185295a9 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c @@ -66,7 +66,7 @@ static struct resource pdcdata_resource = { .flags = IORESOURCE_BUSY | IORESOURCE_MEM, }; -static struct resource sysram_resources[MAX_PHYSMEM_RANGES] __read_mostly; +static struct resource sysram_resources[MAX_PHYSMEM_RANGES] __ro_after_init; /* The following array is initialized from the firmware specific * information retrieved in kernel/inventory.c. @@ -557,11 +557,11 @@ void mark_rodata_ro(void) #define SET_MAP_OFFSET(x) ((void *)(((unsigned long)(x) + VM_MAP_OFFSET) \ & ~(VM_MAP_OFFSET-1))) -void *parisc_vmalloc_start __read_mostly; +void *parisc_vmalloc_start __ro_after_init; EXPORT_SYMBOL(parisc_vmalloc_start); #ifdef CONFIG_PA11 -unsigned long pcxl_dma_start __read_mostly; +unsigned long pcxl_dma_start __ro_after_init; #endif void __init mem_init(void) @@ -635,7 +635,7 @@ void __init mem_init(void) #endif } -unsigned long *empty_zero_page __read_mostly; +unsigned long *empty_zero_page __ro_after_init; EXPORT_SYMBOL(empty_zero_page); /* |