Add samsung specific changes

This commit is contained in:
2025-08-11 14:29:00 +02:00
parent c66122e619
commit 4d134a1294
2688 changed files with 1127995 additions and 11475 deletions

View File

@@ -332,7 +332,13 @@ int __meminit vmemmap_populate_hugepages(unsigned long start, unsigned long end,
return -ENOMEM;
pmd = pmd_offset(pud, addr);
/* avoid pmd size alloc if no altmap */
#ifdef CONFIG_ARCH_QTI_VM
if (pmd_none(READ_ONCE(*pmd)) && altmap) {
#else
if (pmd_none(READ_ONCE(*pmd))) {
#endif
void *p;
p = vmemmap_alloc_block_buf(PMD_SIZE, node, altmap);