summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-09-20 12:22:43 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-20 22:01:11 +0200
commit3bf181bc5d8bc86f04ffd538d7fda9e69af1f2c2 (patch)
tree550d7279d0acf1830eab99c32cc54089bc157643
parentb45d71fb89ab8adfe727b9d0ee188ed58582a647 (diff)
downloadlinux-stable-3bf181bc5d8bc86f04ffd538d7fda9e69af1f2c2.tar.gz
linux-stable-3bf181bc5d8bc86f04ffd538d7fda9e69af1f2c2.tar.bz2
linux-stable-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>
-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