]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit999de95140593636d557a9ff22e5fef238ab948d
tree3691ba948fdfa42360745aa6ad908bd1fc37277c
parentc9384438eae575d67eebc79b5dc3d28648b56ac3
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