About new list commands and emu10k1

From: Thunder from the hill (thunder@ngforever.de)
Date: Sun Jun 09 2002 - 14:16:55 EST


Hi,

I couldn't reach the emu10k1 guys for some obscure reason. I had a patch
which sounded like this:

--- linus-2.5/sound/pci/emu10k1/memory.c Sun Jun 9 04:18:03 2002
+++ thunder-2.5/sound/pci/emu10k1/memory.c Sun Jun 9 07:47:37 2002
@@ -259,8 +259,7 @@
         spin_lock_irqsave(&emu->memblk_lock, flags);
         if (blk->mapped_page >= 0) {
                 /* update order link */
- list_del(&blk->mapped_order_link);
- list_add_tail(&blk->mapped_order_link, &emu->mapped_order_link_head);
+ list_move_tail(&blk->mapped_order_link, &emu->mapped_order_link_head);
                 spin_unlock_irqrestore(&emu->memblk_lock, flags);
                 return 0;
         }

Regards,
Thunder

-- 
German attitude becoming        |	Thunder from the hill at ngforever
rightaway popular:		|
       "Get outa my way,  	|	free inhabitant not directly
    for I got a mobile phone!"	|	belonging anywhere

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:14 EST