From 7c4d63935412465c4f9538ed81c0b3fcb0bee639 Mon Sep 17 00:00:00 2001 From: Zhaolei Date: Fri, 31 Oct 2008 17:43:04 +0800 Subject: [PATCH] --- yaml --- r: 120765 b: refs/heads/master c: a376f30a95a796cde81d6dffde0f5243c8bd8f92 h: refs/heads/master i: 120763: 07f8d72a40f1f68b23c4bb2f6dfec9522f2509f6 v: v3 --- [refs] | 2 +- trunk/arch/x86/mm/init_32.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index f7e5aae129cd..7b93dd7d71cd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7a5276889cfa96619bf863c87581005f46139986 +refs/heads/master: a376f30a95a796cde81d6dffde0f5243c8bd8f92 diff --git a/trunk/arch/x86/mm/init_32.c b/trunk/arch/x86/mm/init_32.c index 8396868e82c5..7f8a2daa3fde 100644 --- a/trunk/arch/x86/mm/init_32.c +++ b/trunk/arch/x86/mm/init_32.c @@ -102,6 +102,8 @@ static pmd_t * __init one_md_table_init(pgd_t *pgd) set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); pud = pud_offset(pgd, 0); BUG_ON(pmd_table != pmd_offset(pud, 0)); + + return pmd_table; } #endif pud = pud_offset(pgd, 0);