aboutsummaryrefslogtreecommitdiff
path: root/lib/usercopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/usercopy.c')
-rw-r--r--lib/usercopy.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/usercopy.c b/lib/usercopy.c
index 4b62e6299cc8..499a7a7d54db 100644
--- a/lib/usercopy.c
+++ b/lib/usercopy.c
@@ -1,10 +1,14 @@
// SPDX-License-Identifier: GPL-2.0
-#include <linux/bitops.h>
+#include <linux/compiler.h>
+#include <linux/errno.h>
+#include <linux/export.h>
#include <linux/fault-inject-usercopy.h>
#include <linux/instrumented.h>
+#include <linux/kernel.h>
+#include <linux/nospec.h>
+#include <linux/string.h>
#include <linux/uaccess.h>
#include <linux/wordpart.h>
-#include <linux/nospec.h>
/* out-of-line parts */