mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/mm: Remove include of linux/extable.h.
@ 2024-12-20  8:40 Sebastian Andrzej Siewior
  2024-12-24  9:48 ` [tip: x86/mm] x86/mm: Remove unnecessary include of <linux/extable.h> tip-bot2 for Sebastian Andrzej Siewior
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2024-12-20  8:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dave Hansen, Andy Lutomirski, Peter Zijlstra, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, x86, Sebastian Andrzej Siewior

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 <bigeasy@linutronix.de>
---
 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 e6c469b323ccb..ef12ff3db9039 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, ...		*/
-- 
2.45.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: x86/mm] x86/mm: Remove unnecessary include of <linux/extable.h>
  2024-12-20  8:40 [PATCH] x86/mm: Remove include of linux/extable.h Sebastian Andrzej Siewior
@ 2024-12-24  9:48 ` tip-bot2 for Sebastian Andrzej Siewior
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Sebastian Andrzej Siewior @ 2024-12-24  9:48 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Sebastian Andrzej Siewior, Ingo Molnar, x86, linux-kernel

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@linutronix.de>
AuthorDate:    Fri, 20 Dec 2024 09:40:29 +01:00
Committer:     Ingo Molnar <mingo@kernel.org>
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@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20241220084029.473617-1-bigeasy@linutronix.de
---
 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, ...		*/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-24  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-20  8:40 [PATCH] x86/mm: Remove include of linux/extable.h Sebastian Andrzej Siewior
2024-12-24  9:48 ` [tip: x86/mm] x86/mm: Remove unnecessary include of <linux/extable.h> tip-bot2 for Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®