x86: limit E820 map when a user-defined memory map is specified
x86: limit E820 map when a user-defined memory map is specified

This patch brings back limiting of the E820 map when a user-defined
E820 map is specified. While the behaviour of i386 (32 bit) was to limit
the E820 map (and /proc/iomem), the behaviour of x86-64 (64 bit) was not to
limit.

That patch limits the E820 map again for both x86 architectures.

Code was tested for compilation and booting on a 32 bit and 64 bit system.

Signed-off-by: Bernhard Walle <a6e4b58a1c07f9875ba33011a64bc38295e2e4d6@suse.de>
Acked-by: Yinghai Lu <086d370ab7099a37fc1e7d4667336777772c5d99@gmail.com>
Cc: b5009a9f6c3d53321a47e34e76cc1e3dc8f59221@lists.infradead.org
Cc: 61d11262d0d9873ddb5a887f48fcb04e8c5973d0@redhat.com
Cc: Bernhard Walle <a6e4b58a1c07f9875ba33011a64bc38295e2e4d6@suse.de>
Signed-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>

KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs