bug.h (b388dc1f62a9bdd9c4758a0664e61d0f9a9da519) bug.h (6fcd6baa90aeec9dcbe30786e15c125bf50503b2)
1#ifndef _ASM_POWERPC_BUG_H
2#define _ASM_POWERPC_BUG_H
3#ifdef __KERNEL__
4
5#include <asm/asm-compat.h>
6
7/*
8 * Define an illegal instr to trap on the bug.

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

128
129#ifndef __ASSEMBLY__
130
131struct pt_regs;
132extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long);
133extern void bad_page_fault(struct pt_regs *, unsigned long, int);
134extern void _exception(int, struct pt_regs *, int, unsigned long);
135extern void die(const char *, struct pt_regs *, long);
1#ifndef _ASM_POWERPC_BUG_H
2#define _ASM_POWERPC_BUG_H
3#ifdef __KERNEL__
4
5#include <asm/asm-compat.h>
6
7/*
8 * Define an illegal instr to trap on the bug.

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

128
129#ifndef __ASSEMBLY__
130
131struct pt_regs;
132extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long);
133extern void bad_page_fault(struct pt_regs *, unsigned long, int);
134extern void _exception(int, struct pt_regs *, int, unsigned long);
135extern void die(const char *, struct pt_regs *, long);
136extern bool die_will_crash(void);
136
137#endif /* !__ASSEMBLY__ */
138
139#endif /* __KERNEL__ */
140#endif /* _ASM_POWERPC_BUG_H */
137
138#endif /* !__ASSEMBLY__ */
139
140#endif /* __KERNEL__ */
141#endif /* _ASM_POWERPC_BUG_H */