Mike Rapoport 6f6aea7e96 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 <mroos@linux.ee>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Tested-by: Meelis Roos <mroos@linux.ee>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lkml.kernel.org/r/9f2b5ebd-e4a4-0fa1-6cd3-4b9f6892d1ad@linux.ee
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-16 10:53:13 -07:00
..
2019-09-08 15:37:04 +02:00
2019-05-03 23:47:41 +02:00
2019-05-03 23:47:38 +02:00
2019-07-21 11:01:55 +02:00
2019-02-21 20:37:12 +01:00
2019-09-08 15:19:58 +02:00
2018-10-31 08:54:12 -07:00
2019-06-25 14:52:26 +02:00
2019-07-16 19:23:24 -07:00
2019-05-03 23:47:41 +02:00
2017-11-17 15:27:22 +01:00
2020-08-12 10:57:58 -07:00
2019-07-17 23:11:28 +02:00