diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2021-12-15 14:13:55 +0300 |
---|---|---|
committer | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2021-12-15 14:13:55 +0300 |
commit | f702e1107601230eec707739038a89018ea3468d (patch) | |
tree | 227a86421ee10e7941f707b03ac456f88595a127 /lib/test_ubsan.c | |
parent | 04e57a2d952bbd34bc45744e72be3eecdc344294 (diff) | |
download | linux-f702e1107601230eec707739038a89018ea3468d.tar.xz |
tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
hwight16() is much faster. While we are at it, no need to include
"perm =" part into data_race() macro, for perm is a local variable
that cannot be accessed by other threads.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Diffstat (limited to 'lib/test_ubsan.c')
0 files changed, 0 insertions, 0 deletions