diff options
author | Longpeng(Mike) <[email protected]> | 2021-10-14 13:38:38 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-10-18 12:31:48 +0200 |
commit | 37c8041a818dec2cea22ea48a3f90d512a9e1fcd (patch) | |
tree | 1b2e97ec1e8e6e2cd8dbc92b6bbcd0a2afe05887 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 00ecd5401349a5e23d2ad768a23b110030165fac (diff) |
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) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions