From: Helge Deller Date: Fri, 10 May 2019 18:51:44 +0000 (+0200) Subject: parisc: Use __ro_after_init in inventory.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7c1952b4be68a40d2283b16d8236cb8d2af1272f;p=openwrt%2Fstaging%2Fblogic.git parisc: Use __ro_after_init in inventory.c Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/inventory.c b/arch/parisc/kernel/inventory.c index 6f2d611347a1..3f4a91c0b805 100644 --- a/arch/parisc/kernel/inventory.c +++ b/arch/parisc/kernel/inventory.c @@ -39,12 +39,12 @@ */ #undef DEBUG_PAT -int pdc_type __read_mostly = PDC_TYPE_ILLEGAL; +int pdc_type __ro_after_init = PDC_TYPE_ILLEGAL; /* cell number and location (PAT firmware only) */ -unsigned long parisc_cell_num __read_mostly; -unsigned long parisc_cell_loc __read_mostly; -unsigned long parisc_pat_pdc_cap __read_mostly; +unsigned long parisc_cell_num __ro_after_init; +unsigned long parisc_cell_loc __ro_after_init; +unsigned long parisc_pat_pdc_cap __ro_after_init; void __init setup_pdc(void)