aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2015-02-24 07:41:07 +0000
committerIngo Molnar <[email protected]>2015-02-24 07:41:07 +0000
commit2ae79026818e7d49fead82b79b1a543e3b9c8a23 (patch)
treec7ee7bd8b37b0880918d361839fd95988fac2dac /lib/strncpy_from_user.c
parentlocking/rwsem: Check for active lock before bailing on spinning (diff)
parentLinux 4.0-rc1 (diff)
downloadkernel-2ae79026818e7d49fead82b79b1a543e3b9c8a23.tar.gz
kernel-2ae79026818e7d49fead82b79b1a543e3b9c8a23.zip
Merge tag 'v4.0-rc1' into locking/core, to refresh the tree before merging new changes
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
-rw-r--r--lib/strncpy_from_user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/strncpy_from_user.c b/lib/strncpy_from_user.c
index bb2b201d6ad0..e0af6ff73d14 100644
--- a/lib/strncpy_from_user.c
+++ b/lib/strncpy_from_user.c
@@ -1,4 +1,5 @@
-#include <linux/module.h>
+#include <linux/compiler.h>
+#include <linux/export.h>
#include <linux/uaccess.h>
#include <linux/kernel.h>
#include <linux/errno.h>