From: <he...@us...> - 2005-04-08 19:42:51
|
Update of /cvsroot/gc-linux/linux/drivers/block/gcn-dvd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19369 Modified Files: main.c Log Message: Fixed small typos in spinlocks hidden by macros. Index: main.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/gcn-dvd/main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- main.c 8 Apr 2005 14:39:16 -0000 1.1 +++ main.c 8 Apr 2005 19:42:42 -0000 1.2 @@ -631,7 +631,7 @@ } /* ok we have an interrupt, now process our queue */ /* lock our structure */ - spin_lock_irqsave(interrupt_queue.lock,flags); + spin_lock_irqsave(&interrupt_queue.lock,flags); /* now look at our structure and call appropriate callback if necessary */ if (!list_empty(&interrupt_queue.queue)) { /* first unlink the queue item */ @@ -650,7 +650,7 @@ interrupt_queue.queue.next); } /* unlock the lock */ - spin_unlock_irqrestore(interrupt_queue.lock,flags); + spin_unlock_irqrestore(&interrupt_queue.lock,flags); /* determine the correct interrupt status */ if (reason & REASON_FLAG_COVER) { if (reason & DI_DICVR_CVR) { @@ -675,7 +675,7 @@ } } else { - spin_unlock_irqrestore(interrupt_queue.lock,flags); + spin_unlock_irqrestore(&interrupt_queue.lock,flags); DPRINTK("Received interrupt but nothing was waiting for it\n"); } |