diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-10-02 12:38:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-02 20:24:41 +0200 |
commit | 22b7de1000e66d739c431d6be4e7e97c69fa7c98 (patch) | |
tree | f26d6823b1946b7cf72e30c385f5d910699f0f4e /lib/bitmap.c | |
parent | thunderbolt: Move ring descriptor flags to thunderbolt.h (diff) | |
download | linux-22b7de1000e66d739c431d6be4e7e97c69fa7c98.tar.xz linux-22b7de1000e66d739c431d6be4e7e97c69fa7c98.zip |
thunderbolt: Use spinlock in ring serialization
This makes it possible to enqueue frames also from atomic context which
is needed for example, when networking packets are sent over a
Thunderbolt cable.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Michael Jamet <michael.jamet@intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions