]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic: pgalloc.h: use correct #ifdef to enable pud_alloc_one()
authorMike Rapoport <rppt@linux.ibm.com>
Sat, 15 Aug 2020 00:30:04 +0000 (17:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Aug 2020 02:56:55 +0000 (19:56 -0700)
commitb8adcc65f7b8d4e96e74599abb1d975146b68598
tree53d9533a44bf93fb7e32b74eb05a450771aa1a7a
parent8c0ea746d6df59fb14d7ce58f31f594eff88fed2
asm-generic: pgalloc.h: use correct #ifdef to enable pud_alloc_one()

The #ifdef statement that guards the generic version of pud_alloc_one() by
mistake used __HAVE_ARCH_PUD_FREE instead of __HAVE_ARCH_PUD_ALLOC_ONE.

Fix it.

Fixes: 904890e008ef ("asm-generic: pgalloc: provide generic pud_alloc_one() and pud_free_one()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200812191415.GE163101@linux.ibm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/pgalloc.h