diff options
| author | Helge Deller <deller@gmx.de> | 2019-05-10 14:51:44 -0400 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2019-05-10 15:00:44 -0400 |
| commit | 7c1952b4be68a40d2283b16d8236cb8d2af1272f (patch) | |
| tree | d6124d0bca324fe8b161e0c0dc5852ac2632b418 | |
| parent | dc1b3c0d50eae30c4588f2146fe41b49584e50fb (diff) | |
parisc: Use __ro_after_init in inventory.c
Signed-off-by: Helge Deller <deller@gmx.de>
| -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 @@ | |||
| 39 | */ | 39 | */ |
| 40 | #undef DEBUG_PAT | 40 | #undef DEBUG_PAT |
| 41 | 41 | ||
| 42 | int pdc_type __read_mostly = PDC_TYPE_ILLEGAL; | 42 | int pdc_type __ro_after_init = PDC_TYPE_ILLEGAL; |
| 43 | 43 | ||
| 44 | /* cell number and location (PAT firmware only) */ | 44 | /* cell number and location (PAT firmware only) */ |
| 45 | unsigned long parisc_cell_num __read_mostly; | 45 | unsigned long parisc_cell_num __ro_after_init; |
| 46 | unsigned long parisc_cell_loc __read_mostly; | 46 | unsigned long parisc_cell_loc __ro_after_init; |
| 47 | unsigned long parisc_pat_pdc_cap __read_mostly; | 47 | unsigned long parisc_pat_pdc_cap __ro_after_init; |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | void __init setup_pdc(void) | 50 | void __init setup_pdc(void) |
