diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-27 15:27:35 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-12-06 13:35:28 +0100 |
commit | 52e68cd60ddf11802f5135921aba77c0833909a8 (patch) | |
tree | 36d219a085e818da7c1d30b8c65af2204d948359 /scripts/checkdeclares.pl | |
parent | Merge tag 'printk-for-5.16-fixup' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
download | linux-52e68cd60ddf11802f5135921aba77c0833909a8.tar.xz linux-52e68cd60ddf11802f5135921aba77c0833909a8.zip |
vsprintf: Use non-atomic bitmap API when applicable
The 'set' bitmap is local to this function. No concurrent access to it is
possible.
So prefer the non-atomic '__[set|clear]_bit()' function to save a few
cycles.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/1abf81a5e509d372393bd22041eed4ebc07ef9f7.1638023178.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'scripts/checkdeclares.pl')
0 files changed, 0 insertions, 0 deletions