firmware.h (0fdc50dfab47d525b71a9f0d8310746cdc0c09c5) firmware.h (7368b38b21bfa39df637701a480262c15ab1a49e)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org)
4 *
5 * Modifications for ppc64:
6 * Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com>
7 */
8#ifndef __ASM_POWERPC_FIRMWARE_H

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

123 ((FW_FEATURE_ALWAYS & (feature)) || \
124 (FW_FEATURE_POSSIBLE & powerpc_firmware_features & (feature)))
125
126extern void system_reset_fwnmi(void);
127extern void machine_check_fwnmi(void);
128
129/* This is true if we are using the firmware NMI handler (typically LPAR) */
130extern int fwnmi_active;
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org)
4 *
5 * Modifications for ppc64:
6 * Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com>
7 */
8#ifndef __ASM_POWERPC_FIRMWARE_H

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

123 ((FW_FEATURE_ALWAYS & (feature)) || \
124 (FW_FEATURE_POSSIBLE & powerpc_firmware_features & (feature)))
125
126extern void system_reset_fwnmi(void);
127extern void machine_check_fwnmi(void);
128
129/* This is true if we are using the firmware NMI handler (typically LPAR) */
130extern int fwnmi_active;
131extern int ibm_nmi_interlock_token;
131
132extern unsigned int __start___fw_ftr_fixup, __stop___fw_ftr_fixup;
133
134#ifdef CONFIG_PPC_PSERIES
135void pseries_probe_fw_features(void);
136#else
137static inline void pseries_probe_fw_features(void) { };
138#endif
139
140#endif /* __ASSEMBLY__ */
141#endif /* __KERNEL__ */
142#endif /* __ASM_POWERPC_FIRMWARE_H */
132
133extern unsigned int __start___fw_ftr_fixup, __stop___fw_ftr_fixup;
134
135#ifdef CONFIG_PPC_PSERIES
136void pseries_probe_fw_features(void);
137#else
138static inline void pseries_probe_fw_features(void) { };
139#endif
140
141#endif /* __ASSEMBLY__ */
142#endif /* __KERNEL__ */
143#endif /* __ASM_POWERPC_FIRMWARE_H */