kexec.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) kexec.c (2ab2d5794f14c08676690bf0859f16cc768bb3a4)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright 2006 Michael Ellerman, IBM Corporation
4 */
5
6#include <linux/kernel.h>
7#include <linux/interrupt.h>
8

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

56 if (xive_enabled()) {
57 xive_teardown_cpu();
58
59 if (!secondary)
60 xive_shutdown();
61 } else
62 xics_kexec_teardown_cpu(secondary);
63}
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright 2006 Michael Ellerman, IBM Corporation
4 */
5
6#include <linux/kernel.h>
7#include <linux/interrupt.h>
8

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

56 if (xive_enabled()) {
57 xive_teardown_cpu();
58
59 if (!secondary)
60 xive_shutdown();
61 } else
62 xics_kexec_teardown_cpu(secondary);
63}
64
65void pseries_machine_kexec(struct kimage *image)
66{
67 if (firmware_has_feature(FW_FEATURE_SET_MODE))
68 pseries_disable_reloc_on_exc();
69
70 default_machine_kexec(image);
71}