blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / arm64 / mm / extable.c
blob79444279ba8c674316e34cfe0861c42021fa92f3
1 /*
2 * Based on arch/arm/mm/extable.c
3 */
5 #include <linux/module.h>
6 #include <linux/uaccess.h>
8 int fixup_exception(struct pt_regs *regs)
10 const struct exception_table_entry *fixup;
12 fixup = search_exception_tables(instruction_pointer(regs));
13 if (fixup)
14 regs->pc = fixup->fixup;
16 return fixup != NULL;