x86, setup: Let early_memremap() handle page alignment
authorWANG Chao <chaowang@redhat.com>
Wed, 7 Jan 2015 10:55:48 +0000 (18:55 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 Jan 2015 15:14:26 +0000 (16:14 +0100)
early_memremap() takes care of page alignment and map size, so we can
just remap the required data size and get rid of the adjustments in
the setup code.

[tglx: Massaged changelog ]

Signed-off-by: WANG Chao <chaowang@redhat.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Link: http://lkml.kernel.org/r/1420628150-16872-1-git-send-email-chaowang@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/setup.c

Simple merge