ia64/linux-2.6.18-xen.hg

annotate arch/m32r/mm/extable.c @ 647:a5bb490065f6

Fix the build after public header sync.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 13 14:01:49 2008 +0100 (2008-08-13)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * linux/arch/m32r/mm/extable.c
ian@0 3 */
ian@0 4
ian@0 5 #include <linux/module.h>
ian@0 6 #include <asm/uaccess.h>
ian@0 7
ian@0 8 int fixup_exception(struct pt_regs *regs)
ian@0 9 {
ian@0 10 const struct exception_table_entry *fixup;
ian@0 11
ian@0 12 fixup = search_exception_tables(regs->bpc);
ian@0 13 if (fixup) {
ian@0 14 regs->bpc = fixup->fixup;
ian@0 15 return 1;
ian@0 16 }
ian@0 17
ian@0 18 return 0;
ian@0 19 }