x86/mm/ASLR: avoid PAGE_SIZE redefinition for UML subarch
A message that is not in the archive (sent off-list or not yet received): 201502201643.McNsOIpA%[email protected]
PATCH 1/1 x86/mm/ASLR: avoid PAGE_SIZE redefinition for UML subarch
Commit f47233c2d34 ("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.
--- arch/x86/include/asm/page_types.h | 1 - arch/x86/kernel/module.c | 1 - 2 files changed, 2 deletions(-)
arch/x86/include/asm/page_types.h +0 -1
@@ -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
arch/x86/kernel/module.c +0 -1
@@ -32,7 +32,6 @@#include <asm/page.h> #include <asm/pgtable.h> -#include <asm/page_types.h> #if 0 #define DEBUGP (fmt, ...) \
Signature · 2 lines
Jiri Kosina SUSE Labs
tip-bot for Jiri Kosina
merge bot[tip:x86/urgent] x86/mm/ASLR: Avoid PAGE_SIZE redefinition for UML subarch
x86/mm/ASLR: Avoid PAGE_SIZE redefinition for UML subarch
Commit-ID: 570e1aa84c376ff39809442f09c7606ddf62cfd1 Gitweb: http://git.kernel.org/tip/570e1aa84c376ff39809442f09c7606ddf62cfd1 Author: Jiri Kosina <[email protected]> AuthorDate: Fri, 20 Feb 2015 10:18:59 +0100 Committer: Ingo Molnar <[email protected]> CommitDate: Fri, 20 Feb 2015 10:55:32 +0100
x86/mm/ASLR: Avoid PAGE_SIZE redefinition for UML subarch
Commit f47233c2d34 ("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.
--- arch/x86/include/asm/page_types.h | 1 - arch/x86/kernel/module.c | 1 - 2 files changed, 2 deletions(-)
arch/x86/include/asm/page_types.h +0 -1
@@ -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
arch/x86/kernel/module.c +0 -1
@@ -32,7 +32,6 @@#include <asm/page.h> #include <asm/pgtable.h> -#include <asm/page_types.h> #if 0 #define DEBUGP (fmt, ...) \