]> 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)
commit24a9e919c456388ce42a6a0a753c4457d33d0fd2
treeeb3d9096b05a637ff220788dfa8c6541a171b4db
parente91a71b75f3634ce024689f9ef4a6bad4d2adefd
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