bug.h (1346e9331abe8d08c05148def1cb2cdf03085c40) bug.h (5222a1d5142ec4f9ec063b274b80e20639584dbc)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_BUG_H
3#define _ASM_POWERPC_BUG_H
4#ifdef __KERNEL__
5
6#include <asm/asm-compat.h>
7
8#ifdef CONFIG_BUG

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

115
116#include <asm-generic/bug.h>
117
118#ifndef __ASSEMBLY__
119
120struct pt_regs;
121void hash__do_page_fault(struct pt_regs *);
122void bad_page_fault(struct pt_regs *, int);
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_BUG_H
3#define _ASM_POWERPC_BUG_H
4#ifdef __KERNEL__
5
6#include <asm/asm-compat.h>
7
8#ifdef CONFIG_BUG

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

115
116#include <asm-generic/bug.h>
117
118#ifndef __ASSEMBLY__
119
120struct pt_regs;
121void hash__do_page_fault(struct pt_regs *);
122void bad_page_fault(struct pt_regs *, int);
123void emulate_single_step(struct pt_regs *regs);
123extern void _exception(int, struct pt_regs *, int, unsigned long);
124extern void _exception_pkey(struct pt_regs *, unsigned long, int);
125extern void die(const char *, struct pt_regs *, long);
126void die_mce(const char *str, struct pt_regs *regs, long err);
127extern bool die_will_crash(void);
128extern void panic_flush_kmsg_start(void);
129extern void panic_flush_kmsg_end(void);
130#endif /* !__ASSEMBLY__ */
131
132#endif /* __KERNEL__ */
133#endif /* _ASM_POWERPC_BUG_H */
124extern void _exception(int, struct pt_regs *, int, unsigned long);
125extern void _exception_pkey(struct pt_regs *, unsigned long, int);
126extern void die(const char *, struct pt_regs *, long);
127void die_mce(const char *str, struct pt_regs *regs, long err);
128extern bool die_will_crash(void);
129extern void panic_flush_kmsg_start(void);
130extern void panic_flush_kmsg_end(void);
131#endif /* !__ASSEMBLY__ */
132
133#endif /* __KERNEL__ */
134#endif /* _ASM_POWERPC_BUG_H */