sh: Fix unneeded constructor in page table allocation
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 8 Jun 2020 13:04:08 +0000 (06:04 -0700)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:03 +0000 (22:05 -0400)
commitbe74273aee2c94e8322404d0b6e84e4f30d911ed
tree3691ba948fdfa42360745aa6ad908bd1fc37277c
parentbcf876870b95592b52519ed4aafcf9d95999bc9c
sh: Fix unneeded constructor in page table allocation

The pgd kmem_cache allocation both specified __GFP_ZERO and had a
constructor which makes no sense.  Remove __GFP_ZERO and zero the user
parts of the pgd explicitly.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/mm/pgtable.c