.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * CPU hotplug support for CSR Marco dual-core SMP SoCs |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company. |
---|
5 | | - * |
---|
6 | | - * Licensed under GPLv2 or later. |
---|
7 | 6 | */ |
---|
8 | 7 | |
---|
9 | 8 | #include <linux/kernel.h> |
---|
.. | .. |
---|
11 | 10 | #include <linux/smp.h> |
---|
12 | 11 | |
---|
13 | 12 | #include <asm/smp_plat.h> |
---|
| 13 | +#include "common.h" |
---|
14 | 14 | |
---|
15 | 15 | static inline void platform_do_lowpower(unsigned int cpu) |
---|
16 | 16 | { |
---|
.. | .. |
---|
18 | 18 | for (;;) { |
---|
19 | 19 | __asm__ __volatile__("dsb\n\t" "wfi\n\t" |
---|
20 | 20 | : : : "memory"); |
---|
21 | | - if (pen_release == cpu_logical_map(cpu)) { |
---|
| 21 | + if (prima2_pen_release == cpu_logical_map(cpu)) { |
---|
22 | 22 | /* |
---|
23 | 23 | * OK, proper wakeup, we're done |
---|
24 | 24 | */ |
---|