]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: create a non-zero sized bm_pte only when needed
authorJan Beulich <jbeulich@novell.com>
Thu, 12 Mar 2009 13:11:50 +0000 (13:11 +0000)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 01:37:20 +0000 (02:37 +0100)
commit698609bdcd35d0641f4c6622c83680ab1a6d67cb
treedfb0aeedb41359f353e441ad053d25d4463f4d0f
parent5c0e6f035df983210e4d22213aed624ced502d3d
x86: create a non-zero sized bm_pte only when needed

Impact: kernel image size reduction

Since in most configurations the pmd page needed maps the same range of
virtual addresses which is also mapped by the earlier inserted one for
covering FIX_DBGP_BASE, that page (and its insertion in the page
tables) can be avoided altogether by detecting the condition at compile
time.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <49B91826.76E4.0078.0@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/ioremap.c