diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2022-08-26 16:43:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-27 09:49:54 -0700 |
commit | d6ffe6067a54972564552ea45d320fb98db1ac5e (patch) | |
tree | f5e9fe0bc2a8eaa1669802af515b91498ea806af /drivers/video/fbdev/core/fbcon.c | |
parent | e022620b5d056e822e42eb9bc0f24fcb97389d86 (diff) |
provide arch_test_bit_acquire for architectures that define test_bit
Some architectures define their own arch_test_bit and they also need
arch_test_bit_acquire, otherwise they won't compile. We also clean up
the code by using the generic test_bit if that is equivalent to the
arch-specific version.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Fixes: 8238b4579866 ("wait_on_bit: add an acquire memory barrier")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/fbdev/core/fbcon.c')
0 files changed, 0 insertions, 0 deletions