Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.8.
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2#ifndef __ASM_EXCEPTION_H
 3#define __ASM_EXCEPTION_H
 4
 5struct pt_regs;
 6struct exception_table_entry;
 7
 8extern void ia64_handle_exception(struct pt_regs *regs,
 9				  const struct exception_table_entry *e);
10
11#define ia64_done_with_exception(regs)					  \
12({									  \
13	int __ex_ret = 0;						  \
14	const struct exception_table_entry *e;				  \
15	e = search_exception_tables((regs)->cr_iip + ia64_psr(regs)->ri); \
16	if (e) {							  \
17		ia64_handle_exception(regs, e);				  \
18		__ex_ret = 1;						  \
19	}								  \
20	__ex_ret;							  \
21})
22
23#endif	/* __ASM_EXCEPTION_H */