|
@@ -253,6 +253,7 @@ static int hash_fn(struct dma_debug_entry *entry)
|
|
|
*/
|
|
|
static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry,
|
|
|
unsigned long *flags)
|
|
|
+ __acquires(&dma_entry_hash[idx].lock)
|
|
|
{
|
|
|
int idx = hash_fn(entry);
|
|
|
unsigned long __flags;
|
|
@@ -267,6 +268,7 @@ static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry,
|
|
|
*/
|
|
|
static void put_hash_bucket(struct hash_bucket *bucket,
|
|
|
unsigned long *flags)
|
|
|
+ __releases(&bucket->lock)
|
|
|
{
|
|
|
unsigned long __flags = *flags;
|
|
|
|