]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - arch/m32r/mm/extable.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-kernels.git] / arch / m32r / mm / extable.c
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
1da177e4 2/*
1cc1265e 3 * linux/arch/m32r/mm/extable.c
1da177e4
LT
4 */
5
ae26cdae 6#include <linux/extable.h>
7c0f6ba6 7#include <linux/uaccess.h>
1da177e4
LT
8
9int fixup_exception(struct pt_regs *regs)
10{
11 const struct exception_table_entry *fixup;
12
13 fixup = search_exception_tables(regs->bpc);
14 if (fixup) {
15 regs->bpc = fixup->fixup;
16 return 1;
17 }
18
19 return 0;
20}