hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-prima2/hotplug.c
....@@ -1,9 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * CPU hotplug support for CSR Marco dual-core SMP SoCs
34 *
45 * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
5
- *
6
- * Licensed under GPLv2 or later.
76 */
87
98 #include <linux/kernel.h>
....@@ -11,6 +10,7 @@
1110 #include <linux/smp.h>
1211
1312 #include <asm/smp_plat.h>
13
+#include "common.h"
1414
1515 static inline void platform_do_lowpower(unsigned int cpu)
1616 {
....@@ -18,7 +18,7 @@
1818 for (;;) {
1919 __asm__ __volatile__("dsb\n\t" "wfi\n\t"
2020 : : : "memory");
21
- if (pen_release == cpu_logical_map(cpu)) {
21
+ if (prima2_pen_release == cpu_logical_map(cpu)) {
2222 /*
2323 * OK, proper wakeup, we're done
2424 */