diff options
| author | Andreea-Cristina Bernat <bernat.ada@gmail.com> | 2014-03-16 18:00:01 -0700 |
|---|---|---|
| committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2014-03-16 18:00:56 -0700 |
| commit | 0cb6dfd710b00865258d1a70e9b62f3343a81b68 (patch) | |
| tree | 39720e49407223ad9fcdd6503ece19bdb62bd873 /tools/perf/scripts/python/netdev-times.py | |
| parent | 8fa7fdeb62373f9bfd364d84d83de1c731b3f7c9 (diff) | |
Staging: solo6x10: Replace expressions that don't use ALIGN macro
There are some expressions that compute the roundup of a number, but don't use
the existing macro defined in /include/kernel.h. This patch uses the following
Coccinelle semantic patch:
@ haskernel @
@@
@ depends on haskernel @
expression E1, E2;
@@
- (E1 + (E2 - 1)) & ~(E2 - 1)
+ ALIGN(E1, E2)
Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
