diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-09-26 10:17:20 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-05 17:40:22 +0300 |
commit | 7fc775ffebb93f2d556b4cb96345844885e16f60 (patch) | |
tree | f7bdb0c34b078a7630a127ab6059c4c2744b4bd0 /fs/ext4/xattr_user.c | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) | |
download | linux-7fc775ffebb93f2d556b4cb96345844885e16f60.tar.xz |
thermal: intel_powerclamp: Use bitmap_zalloc/bitmap_free when applicable
'cpu_clamping_mask' is a bitmap. So use 'bitmap_zalloc()' and
'bitmap_free()' to simplify code, improve the semantic of the code and
avoid some open-coded arithmetic in allocator arguments.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/ext4/xattr_user.c')
0 files changed, 0 insertions, 0 deletions