x86/mm: Remove include of linux/extable.h.
PATCH 1/1 x86/mm: Remove 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 include of linux/extable.h.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
--- arch/x86/mm/fault.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/mm/fault.c +0 -1
@@ -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, ... */
Signature · 1 line
2.45.2
[tip: x86/mm] x86/mm: Remove unnecessary include of <linux/extable.h>
The following commit has been merged into the x86/mm branch of tip:
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 <[email protected]> AuthorDate: Fri, 20 Dec 2024 09:40:29 +01:00 Committer: Ingo Molnar <[email protected]> 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 <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/mm/fault.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/mm/fault.c +0 -1
@@ -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, ... */