1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef __ASM_EXCEPTION_H
3 #define __ASM_EXCEPTION_H
6 struct exception_table_entry
;
8 extern void ia64_handle_exception(struct pt_regs
*regs
,
9 const struct exception_table_entry
*e
);
11 #define ia64_done_with_exception(regs) \
14 const struct exception_table_entry *e; \
15 e = search_exception_tables((regs)->cr_iip + ia64_psr(regs)->ri); \
17 ia64_handle_exception(regs, e); \
23 #endif /* __ASM_EXCEPTION_H */