Skip to content

Commit f3b766a

Browse files
stevecapperlinaroctmarinas
authored andcommitted
arm64: mm: Fix horrendous config typo
The define ARM64_64K_PAGES is tested for rather than CONFIG_ARM64_64K_PAGES. Correct that typo here. Signed-off-by: Steve Capper <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
1 parent 4c83445 commit f3b766a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/include/asm/pgtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
292292
#define pmd_sect(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \
293293
PMD_TYPE_SECT)
294294

295-
#ifdef ARM64_64K_PAGES
295+
#ifdef CONFIG_ARM64_64K_PAGES
296296
#define pud_sect(pud) (0)
297297
#else
298298
#define pud_sect(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \

0 commit comments

Comments
 (0)