| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Derived from arch/ppc/mm/extable.c and arch/i386/mm/extable.c. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2004 Paul Mackerras, IBM Corp. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or |
|---|
| 7 | | - * modify it under the terms of the GNU General Public License |
|---|
| 8 | | - * as published by the Free Software Foundation; either version |
|---|
| 9 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/bsearch.h> |
|---|
| .. | .. |
|---|
| 14 | 10 | #include <linux/init.h> |
|---|
| 15 | 11 | #include <linux/sort.h> |
|---|
| 16 | 12 | #include <linux/uaccess.h> |
|---|
| 13 | +#include <linux/extable.h> |
|---|
| 17 | 14 | |
|---|
| 18 | 15 | #ifndef ARCH_HAS_RELATIVE_EXTABLE |
|---|
| 19 | 16 | #define ex_to_insn(x) ((x)->insn) |
|---|