]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Implement __get_user_u64() required for 64-bit get_user()
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 11 Jun 2020 07:58:11 +0000 (09:58 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:04 +0000 (22:05 -0400)
commit9fea13923598ed7083b7585d89fb788bba68a2b1
treeeb3d9096b05a637ff220788dfa8c6541a171b4db
parent6d97850c2f0775c4688a0405370b7fbdd7841190
sh: Implement __get_user_u64() required for 64-bit get_user()

Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails

     ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined!

with on SH since the kernel misses a 64-bit implementation of get_user().

Implement the missing 64-bit get_user() as __get_user_u64(), matching the
already existing __put_user_u64() which implements the 64-bit put_user().

Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/asm/uaccess_32.h