Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642399

[PATCH] exit: don't include unused userfaultfd_k.h

From "Mike Rapoport" <rppt@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH] exit: don't include unused userfaultfd_k.h
Date 2017-05-16 12:40 +0200
Message-ID <tHI3v-4o0-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Commit dd0db88d8094 (userfaultfd: non-cooperative: rollback
userfaultfd_exit) removed userfaultfd callback from exit() which makes
include of <linux/userfaultfd_k.h> unnecessary.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
 kernel/exit.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index 516acdb..5b1dc84 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -51,7 +51,6 @@
 #include <linux/task_io_accounting_ops.h>
 #include <linux/tracehook.h>
 #include <linux/fs_struct.h>
-#include <linux/userfaultfd_k.h>
 #include <linux/init_task.h>
 #include <linux/perf_event.h>
 #include <trace/events/sched.h>
-- 
2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] exit: don't include unused userfaultfd_k.h "Mike Rapoport" <rppt@linux.vnet.ibm.com> - 2017-05-16 12:40 +0200

csiph-web