diff options
author | WANG Chao <chaowang@redhat.com> | 2015-01-07 04:37:38 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-01-23 16:14:27 +0100 |
commit | d574ffa1066003569ed5cdaeabf44597564ce975 (patch) | |
tree | 5beddeab40b224022910fffa8d99d6b0a05de6a2 /arch/x86/pci/mmconfig-shared.c | |
parent | x86, setup: Let early_memremap() handle page alignment (diff) | |
download | linux-d574ffa1066003569ed5cdaeabf44597564ce975.tar.xz linux-d574ffa1066003569ed5cdaeabf44597564ce975.zip |
x86, e820: Clean up sanitize_e820_map() users
The argument 3 of sanitize_e820_map() will only be updated upon a
successful sanitization. Some of the callers have extra conditionals
for the same purpose. Clean them up.
default_machine_specific_memory_setup() must keep the extra
conditional because boot_params.e820_entries is an u8 and not an u32,
so the direct update would overwrite other fields in boot_params.
[ tglx: Massaged changelog ]
Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Lee Chun-Yi <joeyli.kernel@gmail.com>
Cc: Xishi Qiu <qiuxishi@huawei.com>
Link: http://lkml.kernel.org/r/1420601859-18439-1-git-send-email-chaowang@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/pci/mmconfig-shared.c')
0 files changed, 0 insertions, 0 deletions