]> 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)
commit831f8292c107722012d2eb561607982963bb91f6
tree3691ba948fdfa42360745aa6ad908bd1fc37277c
parentae384c04209231c7192dde042def219ba590f0e6
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