swh:1:snp:c2847dfd741eae21606027cf29250d1ebcd63fb4
Raw File
Tip revision: 02b3e4e2d71b6058ec11cc01c72ac651eb3ded2b authored by Linus Torvalds on 28 August 2005, 23:41:01 UTC
Linux v2.6.13
Tip revision: 02b3e4e
extable.c
/*
 *  linux/arch/arm/mm/extable.c
 */
#include <linux/module.h>
#include <asm/uaccess.h>

int fixup_exception(struct pt_regs *regs)
{
	const struct exception_table_entry *fixup;

	fixup = search_exception_tables(instruction_pointer(regs));
	if (fixup)
		regs->ARM_pc = fixup->fixup;

	return fixup != NULL;
}
back to top