[tip: x86/mm] x86/mm: Remove unnecessary include of <linux/extable.h>

From: tip-bot2 for Sebastian Andrzej Siewior
Date: Tue Dec 24 2024 - 04:55:00 EST


The following commit has been merged into the x86/mm branch of tip:

Commit-ID: aa135d1d0902c49ed45bec98c61c1b4022652b7e
Gitweb: https://git.kernel.org/tip/aa135d1d0902c49ed45bec98c61c1b4022652b7e
Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
AuthorDate: Fri, 20 Dec 2024 09:40:29 +01:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Fri, 20 Dec 2024 10:26:27 +01:00

x86/mm: Remove unnecessary include of <linux/extable.h>

The header file linux/extable.h is included for
search_exception_tables(). That function is no longer used since commit:

c2508ec5a58db ("mm: introduce new 'lock_mm_and_find_vma()' page fault helper")

Remove it.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20241220084029.473617-1-bigeasy@xxxxxxxxxxxxx
---
arch/x86/mm/fault.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index e6c469b..ef12ff3 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -7,7 +7,6 @@
#include <linux/sched.h> /* test_thread_flag(), ... */
#include <linux/sched/task_stack.h> /* task_stack_*(), ... */
#include <linux/kdebug.h> /* oops_begin/end, ... */
-#include <linux/extable.h> /* search_exception_tables */
#include <linux/memblock.h> /* max_low_pfn */
#include <linux/kfence.h> /* kfence_handle_page_fault */
#include <linux/kprobes.h> /* NOKPROBE_SYMBOL, ... */