aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2016-09-07 10:38:25 +0800
committerUlf Hansson <[email protected]>2016-09-26 21:31:26 +0200
commit6c689886fbe41b6492bd8ee9334ff66893274810 (patch)
treeaf389ed1f152b5fcb09f3f54ca74743de3aa8c9f /tools/perf/util/trace-event-scripting.c
parent71085123d27dc5d28ce523344f32ac0d20c5f0a5 (diff)
mmc: core: Optimize the mmc erase size alignment
In most cases the 'card->erase_size' is power of 2, then the round_up/down() function is more efficient than '%' operation when the 'card->erase_size' is power of 2. Signed-off-by: Baolin Wang <[email protected]> Tested-by: Shawn Lin <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions