diff options
| author | Chao Gao <[email protected]> | 2022-07-15 18:45:34 +0800 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2022-07-18 06:49:58 +0200 |
| commit | 44335487bab05e06902f9184179857aae764bfe6 (patch) | |
| tree | 2e8e1dc5c6a76b9a155e877916bc742623f0ed3d /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | 91561d4ecb755f056f8ff04f9dcaec210140e55c (diff) | |
swiotlb: consolidate rounding up default_nslabs
default_nslabs are rounded up in two cases with exactly same comments.
Add a simple wrapper to reduce duplicate code/comments. It is preparatory
to adding more logics into the round-up.
No functional change intended.
Signed-off-by: Chao Gao <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions