diff options
author | Helge Deller <deller@gmx.de> | 2019-05-10 20:51:44 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-05-10 21:00:44 +0200 |
commit | 7c1952b4be68a40d2283b16d8236cb8d2af1272f (patch) | |
tree | d6124d0bca324fe8b161e0c0dc5852ac2632b418 /arch/parisc/kernel/inventory.c | |
parent | dc1b3c0d50eae30c4588f2146fe41b49584e50fb (diff) | |
download | linux-7c1952b4be68a40d2283b16d8236cb8d2af1272f.tar.bz2 |
parisc: Use __ro_after_init in inventory.c
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/inventory.c')
-rw-r--r-- | arch/parisc/kernel/inventory.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) |