diff options
| author | Mike Rapoport <[email protected]> | 2020-08-16 14:24:03 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-16 17:53:13 +0000 |
| commit | 6f6aea7e966cda5a817d091e938c2d9b52209893 (patch) | |
| tree | 98b643cd63565f4943a8c4a79483d3f9207bb0bd /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | Merge tag 'block-5.9-2020-08-14' of git://git.kernel.dk/linux-block (diff) | |
| download | kernel-6f6aea7e966cda5a817d091e938c2d9b52209893.tar.gz kernel-6f6aea7e966cda5a817d091e938c2d9b52209893.zip | |
parisc: fix PMD pages allocation by restoring pmd_alloc_one()
Commit 1355c31eeb7e ("asm-generic: pgalloc: provide generic pmd_alloc_one()
and pmd_free_one()") converted parisc to use generic version of
pmd_alloc_one() but it missed the fact that parisc uses order-1 pages for
PMD.
Restore the original version of pmd_alloc_one() for parisc, just use
GFP_PGTABLE_KERNEL that implies __GFP_ZERO instead of GFP_KERNEL and
memset.
Fixes: 1355c31eeb7e ("asm-generic: pgalloc: provide generic pmd_alloc_one() and pmd_free_one()")
Reported-by: Meelis Roos <[email protected]>
Signed-off-by: Mike Rapoport <[email protected]>
Tested-by: Meelis Roos <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
