Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.7 21 lines 455 B view raw
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/arch/unicore32/mm/extable.c 4 * 5 * Code specific to PKUnity SoC and UniCore ISA 6 * 7 * Copyright (C) 2001-2010 GUAN Xue-tao 8 */ 9#include <linux/extable.h> 10#include <linux/uaccess.h> 11 12int fixup_exception(struct pt_regs *regs) 13{ 14 const struct exception_table_entry *fixup; 15 16 fixup = search_exception_tables(instruction_pointer(regs)); 17 if (fixup) 18 regs->UCreg_pc = fixup->fixup; 19 20 return fixup != NULL; 21}