[BACK]Return to extable.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / m32r / mm

File: [Development] / linux-2.6-xfs / arch / m32r / mm / extable.c (download)

Revision 1.2, Mon Aug 29 15:50:38 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -4 lines

Merge up to 2.6.13.
Merge of 2.6.x-xfs-melb:linux:23660a by kenmcd.

/*
 * linux/arch/m32r/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(regs->bpc);
	if (fixup) {
		regs->bpc = fixup->fixup;
		return 1;
	}

	return 0;
}