diff options
-rw-r--r-- | arch/x86/mm/init_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 5c3305e05078..b10b7f17ea58 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -320,7 +320,8 @@ phys_pmd_init(pmd_t *pmd_page, unsigned long address, unsigned long end) | |||
320 | } | 320 | } |
321 | 321 | ||
322 | if (pmd_val(*pmd)) { | 322 | if (pmd_val(*pmd)) { |
323 | phys_pte_update(pmd, address, end); | 323 | if (!pmd_large(*pmd)) |
324 | phys_pte_update(pmd, address, end); | ||
324 | continue; | 325 | continue; |
325 | } | 326 | } |
326 | 327 | ||