x86: avoid duplicate running of pud_offset and pmd_offset in one_md_table_init()
authorZhaolei <zhaolei@cn.fujitsu.com>
Fri, 31 Oct 2008 09:43:04 +0000 (17:43 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 10:03:17 +0000 (11:03 +0100)
Impact: simplify implementation, cleanup

If !(pgd_val(*pgd) & _PAGE_PRESENT) in PAE mode, we need not get value of
pmd_table again.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found