diff options
author | Helge Deller <deller@gmx.de> | 2017-08-21 22:09:30 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-08-22 16:34:37 +0200 |
commit | 6c706b93b078ca0a802f6987b81899f4650a7810 (patch) | |
tree | 82ded4af21a50663b93c34225c5880b6d9b162c7 /arch | |
parent | 0618cdfaeb0733e82d296d9db746b0fe0f07fefe (diff) | |
download | linux-stable-6c706b93b078ca0a802f6987b81899f4650a7810.tar.gz linux-stable-6c706b93b078ca0a802f6987b81899f4650a7810.tar.bz2 linux-stable-6c706b93b078ca0a802f6987b81899f4650a7810.zip |
parisc/core: Fix section mismatches
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/processor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c index 6b6fe8d62893..a778bd3c107c 100644 --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c @@ -90,7 +90,7 @@ init_percpu_prof(unsigned long cpunum) * (return 1). If so, initialize the chip and tell other partners in crime * they have work to do. */ -static int processor_probe(struct parisc_device *dev) +static int __init processor_probe(struct parisc_device *dev) { unsigned long txn_addr; unsigned long cpuid; @@ -432,12 +432,12 @@ show_cpuinfo (struct seq_file *m, void *v) return 0; } -static const struct parisc_device_id processor_tbl[] = { +static const struct parisc_device_id processor_tbl[] __initconst = { { HPHW_NPROC, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, SVERSION_ANY_ID }, { 0, } }; -static struct parisc_driver cpu_driver = { +static struct parisc_driver cpu_driver __refdata = { .name = "CPU", .id_table = processor_tbl, .probe = processor_probe |