vmem.c (4d7b04c0cda365f190c4a8f7fddc535b93aae9f9) | vmem.c (907835e6dee6f77ac30ae50bb3f88bd92055c86e) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/sched/task.h> 3#include <linux/pgtable.h> 4#include <linux/kasan.h> 5#include <asm/pgalloc.h> 6#include <asm/facility.h> 7#include <asm/sections.h> 8#include <asm/physmem_info.h> --- 346 unchanged lines hidden (view full) --- 355 if (!machine.has_nx) 356 entry = clear_pud_bit(entry, __pgprot(_REGION_ENTRY_NOEXEC)); 357 set_pud(pud, entry); 358 pages++; 359 continue; 360 } 361 pmd = boot_crst_alloc(_SEGMENT_ENTRY_EMPTY); 362 pud_populate(&init_mm, pud, pmd); | 1// SPDX-License-Identifier: GPL-2.0 2#include <linux/sched/task.h> 3#include <linux/pgtable.h> 4#include <linux/kasan.h> 5#include <asm/pgalloc.h> 6#include <asm/facility.h> 7#include <asm/sections.h> 8#include <asm/physmem_info.h> --- 346 unchanged lines hidden (view full) --- 355 if (!machine.has_nx) 356 entry = clear_pud_bit(entry, __pgprot(_REGION_ENTRY_NOEXEC)); 357 set_pud(pud, entry); 358 pages++; 359 continue; 360 } 361 pmd = boot_crst_alloc(_SEGMENT_ENTRY_EMPTY); 362 pud_populate(&init_mm, pud, pmd); |
363 } else if (pud_large(*pud)) { | 363 } else if (pud_leaf(*pud)) { |
364 continue; 365 } 366 pgtable_pmd_populate(pud, addr, next, mode); 367 } 368 if (mode == POPULATE_DIRECT) 369 update_page_count(PG_DIRECT_MAP_2G, pages); 370} 371 --- 87 unchanged lines hidden --- | 364 continue; 365 } 366 pgtable_pmd_populate(pud, addr, next, mode); 367 } 368 if (mode == POPULATE_DIRECT) 369 update_page_count(PG_DIRECT_MAP_2G, pages); 370} 371 --- 87 unchanged lines hidden --- |