aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2022-12-16 13:49:18 +0000
committerJuergen Gross <[email protected]>2023-04-25 09:09:30 +0000
commitcbfac7707ba16619006a4fd60faac46303fd2f3e (patch)
tree5435db2ca32d63cd8a7e957c2b121852dd2bf4de /lib/test_vmalloc.c
parentxen/blkback: simplify free_persistent_gnts() interface (diff)
downloadkernel-cbfac7707ba16619006a4fd60faac46303fd2f3e.tar.gz
kernel-cbfac7707ba16619006a4fd60faac46303fd2f3e.zip
xen/blkback: move blkif_get_x86_*_req() into blkback.c
There is no need to have the functions blkif_get_x86_32_req() and blkif_get_x86_64_req() in a header file, as they are used in one place only. So move them into the using source file and drop the inline qualifier. While at it fix some style issues, and simplify the code by variable reusing and using min() instead of open coding it. Instead of using barrier() use READ_ONCE() for avoiding multiple reads of nr_segments. Signed-off-by: Juergen Gross <[email protected]> Acked-by: Roger Pau MonnĂ© <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions