diff options
author | Amol Surati <suratiamol@gmail.com> | 2019-07-07 14:27:29 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-09 14:52:14 -0700 |
commit | 13990cf8a180cc070f0b1266140e799db8754289 (patch) | |
tree | 0693f3e3e61250d1516cb33a52254d138dd371e4 /tools/testing/selftests/powerpc/tm/tm-vmxcopy.c | |
parent | 54dee406374ce8adb352c48e175176247cb8db7c (diff) |
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/testing/selftests/powerpc/tm/tm-vmxcopy.c')
0 files changed, 0 insertions, 0 deletions