提交 570e1aa8 编写于 作者: J Jiri Kosina 提交者: Ingo Molnar

x86/mm/ASLR: Avoid PAGE_SIZE redefinition for UML subarch

Commit f47233c2 ("x86/mm/ASLR: Propagate base load address
calculation") causes PAGE_SIZE redefinition warnings for UML
subarch  builds. This is caused by added includes that were
leftovers from previous  patch versions are are not actually
needed (especially page_types.h  inlcude in module.c). Drop
those stray includes.
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Cc: Borislav Petkov <bp@suse.de>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Cc: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/alpine.LNX.2.00.1502201017240.28769@pobox.suse.czSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 1fbe23e0
......@@ -3,7 +3,6 @@
#include <linux/const.h>
#include <linux/types.h>
#include <asm/bootparam.h>
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
......
......@@ -32,7 +32,6 @@
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/page_types.h>
#if 0
#define DEBUGP(fmt, ...) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册