aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-01-09 09:47:30 +0100
committerJason Gunthorpe <[email protected]>2020-01-09 11:59:56 -0400
commit74f75cda754eb69a77f910ceb5bc85f8e9ba56a5 (patch)
tree6353a50ad333f159275532302e5e2e90a1ca0532 /tools/perf/scripts/python/net_dropmonitor.py
parent40adf686128856c4add948fb002d43e2c507d1aa (diff)
IB/core: Fix build failure without hugepages
HPAGE_SHIFT is only defined on architectures that support hugepages: drivers/infiniband/core/umem_odp.c: In function 'ib_umem_odp_get': drivers/infiniband/core/umem_odp.c:245:26: error: 'HPAGE_SHIFT' undeclared (first use in this function); did you mean 'PAGE_SHIFT'? Enclose this in an #ifdef. Fixes: 9ff1b6466a29 ("IB/core: Fix ODP with IB_ACCESS_HUGETLB handling") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions