diff options
author | Longpeng(Mike) <longpeng2@huawei.com> | 2021-10-14 13:38:38 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-10-18 12:31:48 +0200 |
commit | 37c8041a818dec2cea22ea48a3f90d512a9e1fcd (patch) | |
tree | 1b2e97ec1e8e6e2cd8dbc92b6bbcd0a2afe05887 /tools/perf/util/c++/clang.cpp | |
parent | 00ecd5401349a5e23d2ad768a23b110030165fac (diff) | |
download | linux-37c8041a818dec2cea22ea48a3f90d512a9e1fcd.tar.gz linux-37c8041a818dec2cea22ea48a3f90d512a9e1fcd.tar.bz2 linux-37c8041a818dec2cea22ea48a3f90d512a9e1fcd.zip |
iommu/vt-d: Convert the return type of first_pte_in_page to bool
The first_pte_in_page() returns true or false, so let's convert its
return type to bool. In addition, use 'IS_ALIGNED' to make the
code more readable and neater.
Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Link: https://lore.kernel.org/r/20211008000433.1115-1-longpeng2@huawei.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20211014053839.727419-9-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions