We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d239865 commit 9c00697Copy full SHA for 9c00697
arch/arm64/mm/mmu.c
@@ -1003,10 +1003,8 @@ int pmd_free_pte_page(pmd_t *pmdp, unsigned long addr)
1003
1004
pmd = READ_ONCE(*pmdp);
1005
1006
- if (!pmd_present(pmd))
1007
- return 1;
1008
if (!pmd_table(pmd)) {
1009
- VM_WARN_ON(!pmd_table(pmd));
+ VM_WARN_ON(1);
1010
return 1;
1011
}
1012
@@ -1026,10 +1024,8 @@ int pud_free_pmd_page(pud_t *pudp, unsigned long addr)
1026
1024
1027
1025
pud = READ_ONCE(*pudp);
1028
1029
- if (!pud_present(pud))
1030
1031
if (!pud_table(pud)) {
1032
- VM_WARN_ON(!pud_table(pud));
1033
1034
1035
0 commit comments