Skip to contentSkip to conversation

x86/mm: Remove include of linux/extable.h.

PATCH Applied Sebastian Andrzej Siewior 2 participants 2 messages Dec 20, 2024 – Dec 24, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 arch/x86/mm/fault.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/mm/fault.c +0 -1
index e6c469b323ccb..ef12ff3db9039 100644
@@ -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
#1 lore raw

[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.

---
 arch/x86/mm/fault.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/mm/fault.c +0 -1
index e6c469b..ef12ff3 100644
@@ -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, ...		*/