/* Wrapper function for adding an entry to the hash. This function takes care of locking itself.  */
static void add_dma_entry(struct dma_debug_entry *entry)
/* Wrapper function for adding an entry to the hash. This function takes care of locking itself.  */
static void add_dma_entry(struct dma_debug_entry *entry)
{
	struct hash_bucket *bucket;
	unsigned long flags;
	bucket = get_hash_bucket(entry, &flags);
	hash_bucket_add(bucket, entry);
	put_hash_bucket(bucket, &flags);
}