summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-09-20 21:22:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-20 22:01:11 +0200
commit3bf181bc5d8bc86f04ffd538d7fda9e69af1f2c2 (patch)
tree550d7279d0acf1830eab99c32cc54089bc157643 /kernel
parentmm: shmem.c: Correctly annotate new inodes for lockdep (diff)
downloadlinux-3bf181bc5d8bc86f04ffd538d7fda9e69af1f2c2.tar.xz
linux-3bf181bc5d8bc86f04ffd538d7fda9e69af1f2c2.zip
kernel/sys.c: remove duplicated include
Link: http://lkml.kernel.org/r/20180821133424.18716-1-yuehaibing@huawei.com Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sys.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index cf5c67533ff1..123bd73046ec 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -71,9 +71,6 @@
#include <asm/io.h>
#include <asm/unistd.h>
-/* Hardening for Spectre-v1 */
-#include <linux/nospec.h>
-
#include "uid16.h"
#ifndef SET_UNALIGN_CTL