diff options
| author | Yunfeng Ye <yeyunfeng@huawei.com> | 2019-11-05 19:30:45 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-11-06 10:23:35 -0800 |
| commit | 9439bb0f3656003308a479a9a785ec2e79cfeb39 (patch) | |
| tree | 7085dcebb6d77bd27388f112a83354107eb053ea /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | net: forcedeth: add xmit_more support (diff) | |
| download | linux-9439bb0f3656003308a479a9a785ec2e79cfeb39.tar.gz linux-9439bb0f3656003308a479a9a785ec2e79cfeb39.zip | |
ehea: replace with page_shift() in ehea_is_hugepage()
The function page_shift() is supported after the commit 94ad9338109f
("mm: introduce page_shift()").
So replace with page_shift() in ehea_is_hugepage() for readability.
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
