x86, mm: Unify kernel_physical_mapping_init() API
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 24 Feb 2010 15:04:47 +0000 (17:04 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 25 Feb 2010 23:15:21 +0000 (15:15 -0800)
commitc1fd1b43831fa20c91cdd461342af8edf2e87c2f
tree7fdd25e5895a384241b2b306dd54c9c3e1c9d602
parent14315592009c17035cac81f4954d5a1f4d71e489
x86, mm: Unify kernel_physical_mapping_init() API

This patch changes the 32-bit version of kernel_physical_mapping_init() to
return the last mapped address like the 64-bit one so that we can unify the
call-site in init_memory_mapping().

Cc: Yinghai Lu <yinghai@kernel.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <alpine.DEB.2.00.1002241703570.1180@melkki.cs.helsinki.fi>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/init.c
arch/x86/mm/init_32.c