From: Pekka Enberg Date: Thu, 5 Mar 2009 12:54:59 +0000 (+0200) Subject: x86: unify kernel_physical_mapping_init() call in init_memory_mapping() X-Git-Tag: v2.6.30-rc1~2^2~50^2~4^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbba65796df99f3ca9bf70d14e5a19384c54b6a1;p=pandora-kernel.git 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 Cc: Yinghai Lu LKML-Reference: <1236257708-27269-8-git-send-email-penberg@cs.helsinki.fi> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed