aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorXin Hao <[email protected]>2022-09-22 10:19:29 +0800
committerAndrew Morton <[email protected]>2022-10-03 14:03:35 -0700
commit8346d69d8bcb6c526a0d8bd126241dff41a60723 (patch)
treece7dfcae9b1c8c6af6be33e13549cd380e346ff3 /drivers/fpga/fpga-bridge.c
parent6b91e5dfb3c7ef485587e7ab494dcb47bcdadce3 (diff)
mm/hugetlb: add available_huge_pages() func
In hugetlb.c there are several places which compare the values of 'h->free_huge_pages' and 'h->resv_huge_pages', it looks a bit messy, so add a new available_huge_pages() function to do these. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Xin Hao <[email protected]> Reviewed-by: Mike Kravetz <[email protected]> Reviewed-by: Muchun Song <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: Oscar Salvador <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions