[PATCH][2.5] list_move for sparc64 pci (1 occ)

Lightweight patch manager <[email protected]> Sun, 09 Jun 2002 15:19:53 +0000
Newsgroups org.kernel.vger.ultralinux
Message-ID <marc-linux-ultrasparc-102363607431535@msgid-missing>
This makes the pci driver for sparc64 use the new list_move macro

--- linus-2.5/arch/sparc64/kernel/pci.c	Sun Jun  9 04:13:30 2002
+++ thunder-2.5/arch/sparc64/kernel/pci.c	Sun Jun  9 05:22:07 2002
@@ -168,10 +168,8 @@
 		struct pci_dev *pdev = pci_dev_g(walk);
 		struct list_head *walk_next = walk->next;
 
-		if (pdev->irq && (__irq_ino(pdev->irq) & 0x20)) {
-			list_del(walk);
-			list_add(walk, pci_onboard);
-		}
+		if (pdev->irq && (__irq_ino(pdev->irq) & 0x20))
+			list_move(walk, pci_onboard);
 
 		walk = walk_next;
 	}

-- 
Lightweight patch manager using pine. If you have any objections, tell me.