| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mach-spear13xx/hotplug.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * Deepak Sikri <deepak.sikri@st.com> |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * based upon linux/arch/arm/mach-realview/hotplug.c |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 10 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 11 | | - * published by the Free Software Foundation. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | #include <linux/kernel.h> |
|---|
| 14 | 11 | #include <linux/errno.h> |
|---|
| 15 | 12 | #include <linux/smp.h> |
|---|
| 16 | 13 | #include <asm/cp15.h> |
|---|
| 17 | 14 | #include <asm/smp_plat.h> |
|---|
| 15 | + |
|---|
| 16 | +#include "generic.h" |
|---|
| 18 | 17 | |
|---|
| 19 | 18 | static inline void cpu_enter_lowpower(void) |
|---|
| 20 | 19 | { |
|---|
| .. | .. |
|---|
| 57 | 56 | for (;;) { |
|---|
| 58 | 57 | wfi(); |
|---|
| 59 | 58 | |
|---|
| 60 | | - if (pen_release == cpu) { |
|---|
| 59 | + if (spear_pen_release == cpu) { |
|---|
| 61 | 60 | /* |
|---|
| 62 | 61 | * OK, proper wakeup, we're done |
|---|
| 63 | 62 | */ |
|---|