crash.c (6112bd00e84e5dbffebc3c1e908cbe914ca772ee) crash.c (743cdb7bd0f1cb32c03680c8b38257957db2e692)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Architecture specific (PPC64) functions for kexec based crash dumps.
4 *
5 * Copyright (C) 2005, IBM Corp.
6 *
7 * Created by: Haren Myneni
8 */

--- 210 unchanged lines hidden (view full) ---

219
220void crash_kexec_secondary(struct pt_regs *regs)
221{
222}
223#endif /* CONFIG_SMP */
224
225/* wait for all the CPUs to hit real mode but timeout if they don't come in */
226#if defined(CONFIG_SMP) && defined(CONFIG_PPC64)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Architecture specific (PPC64) functions for kexec based crash dumps.
4 *
5 * Copyright (C) 2005, IBM Corp.
6 *
7 * Created by: Haren Myneni
8 */

--- 210 unchanged lines hidden (view full) ---

219
220void crash_kexec_secondary(struct pt_regs *regs)
221{
222}
223#endif /* CONFIG_SMP */
224
225/* wait for all the CPUs to hit real mode but timeout if they don't come in */
226#if defined(CONFIG_SMP) && defined(CONFIG_PPC64)
227static void __maybe_unused crash_kexec_wait_realmode(int cpu)
227noinstr static void __maybe_unused crash_kexec_wait_realmode(int cpu)
228{
229 unsigned int msecs;
230 int i;
231
232 msecs = REAL_MODE_TIMEOUT;
233 for (i=0; i < nr_cpu_ids && msecs > 0; i++) {
234 if (i == cpu)
235 continue;

--- 142 unchanged lines hidden ---
228{
229 unsigned int msecs;
230 int i;
231
232 msecs = REAL_MODE_TIMEOUT;
233 for (i=0; i < nr_cpu_ids && msecs > 0; i++) {
234 if (i == cpu)
235 continue;

--- 142 unchanged lines hidden ---