2 * Kernel exception handling table support. Derived from arch/alpha/mm/extable.c.
4 * Copyright (C) 1998, 1999, 2001-2002, 2004 Hewlett-Packard Co
8 #include <linux/uaccess.h>
11 ia64_handle_exception (struct pt_regs *regs, const struct exception_table_entry *e)
13 long fix = (u64) &e->fixup + e->fixup;
18 regs->cr_iip = fix & ~0xf;
19 ia64_psr(regs)->ri = fix & 0x3; /* set continuation slot number */