summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAmol Surati <suratiamol@gmail.com>2019-07-07 11:57:29 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-10 00:52:14 +0300
commit13990cf8a180cc070f0b1266140e799db8754289 (patch)
tree0693f3e3e61250d1516cb33a52254d138dd371e4 /tools/perf/util/scripting-engines/trace-event-python.c
parent54dee406374ce8adb352c48e175176247cb8db7c (diff)
downloadlinux-13990cf8a180cc070f0b1266140e799db8754289.tar.xz
ide: use BIT() macro for defining bit-flags
The BIT() macro is available for defining the required bit-flags. Since it operates on an unsigned value and expands to an unsigned result, using it, instead of an expression like (1 << x), also fixes the problem of shifting a signed 32-bit value by 31 bits (e.g. 1 << 31). Signed-off-by: Amol Surati <suratiamol@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions