]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: unify kernel_physical_mapping_init() call in init_memory_mapping()
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 5 Mar 2009 12:54:59 +0000 (14:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Mar 2009 13:17:14 +0000 (14:17 +0100)
commitcbba65796df99f3ca9bf70d14e5a19384c54b6a1
treec1a88f3eb150ab99a8223652f301c3fc64d73fe3
parentc464573cb3d3bdd45eed8f5f59596f84ede95a0c
x86: unify kernel_physical_mapping_init() call in init_memory_mapping()

Impact: cleanup

The 64-bit version of init_memory_mapping() uses the last mapped
address returned from kernel_physical_mapping_init() whereas the
32-bit version doesn't. This patch adds relevant ifdefs to both
versions of the function to reduce the diff between them.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1236257708-27269-8-git-send-email-penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c