Whamcloud - gitweb
LU-13783 libcfs: support __vmalloc with only 2 args. 28/40328/7
authorMr NeilBrown <neilb@suse.de>
Wed, 21 Oct 2020 04:26:35 +0000 (15:26 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 16 Mar 2021 18:16:57 +0000 (18:16 +0000)
commit2a32eaa35dd7b96bb29f6a17991f48fe07fa833e
tree5e7232b8bab88243679d2b61ca79beca4015b10e
parent062809b1313ac7000e3476c96cbbe5d017f10875
LU-13783 libcfs: support __vmalloc with only 2 args.

Since v5.8-rc1~201^2~19 Commit 88dca4ca5a93 ("mm: remove the pgprot
argument to __vmalloc") __vmalloc only takes 2 arguments.

So introduce __ll_vmalloc which takes 2 args, and calls
__vmalloc with correct number of args.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I2c89512a12e28b27544a891620e448a9b752b089
Reviewed-on: https://review.whamcloud.com/40328
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-mem.h
lnet/klnds/gnilnd/gnilnd.h
lustre/include/obd_support.h