diff options
| author | Sergei Shtylyov <[email protected]> | 2018-06-02 22:40:16 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-06-04 15:23:25 -0400 |
| commit | 1100149a23a5053de4709dc4ba14ab14bd826562 (patch) | |
| tree | 7bb1c3acc09276a45a9314f9d462db0511106d1f /tools/perf/scripts/python/stackcollapse.py | |
| parent | bb2fa4e847d779c0c3eba78c1abbe142134dcc3d (diff) | |
sh_eth: use DIV_ROUND_UP() in sh_eth_soft_swap()
When initializing 'maxp' in sh_eth_soft_swap(), the buffer length needs
to be rounded up -- that's just asking for DIV_ROUND_UP()!
Signed-off-by: Sergei Shtylyov <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions