From: Alex Williamson Date: Tue, 17 Dec 2013 23:43:39 +0000 (-0700) Subject: PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction()) X-Git-Tag: v3.14-rc1~132^2~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=157e876ffe;p=pandora-kernel.git PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction()) We currently have two instance of this loop which waits for a pending bit to clear in a status dword. Generalize the function for future users. Signed-off-by: Alex Williamson Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed