diff options
| author | Viresh Kumar <[email protected]> | 2013-10-02 14:13:17 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2013-10-16 00:50:23 +0200 |
| commit | 6461f018e7ad08863b55c386bf694683e4e2e86e (patch) | |
| tree | 6095679a7304663610868f402e4b55c2f0d5866b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 037ce8397d23b2f84ccfb879cf4b43277b0454e3 (diff) | |
cpufreq: rewrite cpufreq_driver->flags using shift operator
Currently cpufreq_driver's flags are defined directly using 0x1, 0x2, 0x4, 0x8,
etc.. As the list grows it becomes less readable..
Use bitwise shift operator << to generate these numbers for respective
positions.
Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Srivatsa S. Bhat <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions