From 091cc75e589cbe932019c02ca284fa770472464a Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 16 Jun 2009 16:11:14 +0200 Subject: [PATCH] --- yaml --- r: 155229 b: refs/heads/master c: b0a5b83ee0fce9dbf8ff5fe1f8c9ae7dfafe458c h: refs/heads/master i: 155227: 3f30527ca7c20ce335bc3de3cdc5205a11809a7e v: v3 --- [refs] | 2 +- trunk/lib/dma-debug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8a72a0457ce1..b06d85fd3713 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c79ee4e466dd12347f112e2af306dca35198458f +refs/heads/master: b0a5b83ee0fce9dbf8ff5fe1f8c9ae7dfafe458c diff --git a/trunk/lib/dma-debug.c b/trunk/lib/dma-debug.c index a9b6b5c9e091..c9187fed0b93 100644 --- a/trunk/lib/dma-debug.c +++ b/trunk/lib/dma-debug.c @@ -716,7 +716,7 @@ void dma_debug_init(u32 num_entries) for (i = 0; i < HASH_SIZE; ++i) { INIT_LIST_HEAD(&dma_entry_hash[i].list); - dma_entry_hash[i].lock = SPIN_LOCK_UNLOCKED; + spin_lock_init(&dma_entry_hash[i].lock); } if (dma_debug_fs_init() != 0) {