diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-10-31 17:43:04 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-31 11:03:17 +0100 |
commit | a376f30a95a796cde81d6dffde0f5243c8bd8f92 (patch) | |
tree | 443b34aae8d99524ee9e7669ade05c6f06585967 /drivers/block/z2ram.c | |
parent | 7a5276889cfa96619bf863c87581005f46139986 (diff) |
x86: avoid duplicate running of pud_offset and pmd_offset in one_md_table_init()
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>
Diffstat (limited to 'drivers/block/z2ram.c')
0 files changed, 0 insertions, 0 deletions