forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm64/kernel/acpi_parking_protocol.c
....@@ -1,20 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ARM64 ACPI Parking Protocol implementation
34 *
45 * Authors: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
56 * 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/>.
187 */
198 #include <linux/acpi.h>
209 #include <linux/mm.h>
....@@ -110,7 +99,7 @@
11099 * that read this address need to convert this address to the
111100 * Boot-Loader's endianness before jumping.
112101 */
113
- writeq_relaxed(__pa_symbol(secondary_entry), &mailbox->entry_point);
102
+ writeq_relaxed(__pa_function(secondary_entry), &mailbox->entry_point);
114103 writel_relaxed(cpu_entry->gic_cpu_id, &mailbox->cpu_id);
115104
116105 arch_send_wakeup_ipi_mask(cpumask_of(cpu));