.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * ARM64 ACPI Parking Protocol implementation |
---|
3 | 4 | * |
---|
4 | 5 | * Authors: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> |
---|
5 | 6 | * Mark Salter <msalter@redhat.com> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License version 2 as |
---|
9 | | - * published by the Free Software Foundation. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License |
---|
17 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
18 | 7 | */ |
---|
19 | 8 | #include <linux/acpi.h> |
---|
20 | 9 | #include <linux/mm.h> |
---|
.. | .. |
---|
110 | 99 | * that read this address need to convert this address to the |
---|
111 | 100 | * Boot-Loader's endianness before jumping. |
---|
112 | 101 | */ |
---|
113 | | - writeq_relaxed(__pa_symbol(secondary_entry), &mailbox->entry_point); |
---|
| 102 | + writeq_relaxed(__pa_function(secondary_entry), &mailbox->entry_point); |
---|
114 | 103 | writel_relaxed(cpu_entry->gic_cpu_id, &mailbox->cpu_id); |
---|
115 | 104 | |
---|
116 | 105 | arch_send_wakeup_ipi_mask(cpumask_of(cpu)); |
---|