Skip to contentSkip to conversation

[2.5] list_move for sparc64 pci (1 occ)

PATCH New Lightweight patch manager 1 participant 1 message Jun 9, 2002

lore
Share & tools
lore
#0 lore raw

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

This makes the pci driver for sparc64 use the new list_move macro

arch/sparc64/kernel/pci.c +2 -4
@@ -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;
 	}
Signature · 1 line
Lightweight patch manager using pine. If you have any objections, tell me.