kfifo: provide kfifo_is_empty_spinlocked()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 17 Dec 2019 10:30:59 +0000 (11:30 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 12 Feb 2020 11:05:46 +0000 (12:05 +0100)
commit5195a89e8583bba43ec13871a7226763e401b44e
tree7238cd9aeb9be1dfd37c18e4a6e17d8a05600720
parent3f2e4c11e136e2cffd60dbc840b59ff65f017328
kfifo: provide kfifo_is_empty_spinlocked()

Provide two spinlocked versions of kfifo_is_empty() to be used with
spinlocked variants of kfifo_in() and kfifo_out().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Stefani Seibold <stefani@seibold.net>
include/linux/kfifo.h