From: Bjorn Helgaas Date: Tue, 15 May 2012 23:01:09 +0000 (-0600) Subject: x86/PCI: only check for spinlock being held in SMP kernels X-Git-Tag: v3.5-rc1~179^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=867aae6ebe593db73fb8a676475ee20227292cfe;p=pandora-kernel.git x86/PCI: only check for spinlock being held in SMP kernels spin_is_locked() is always false on UP kernels: spin_lock_irqsave() does no locking, so we can't tell whether the lock is held or not. Therefore, this warning is only valid for SMP kernels. CC: Myron Stowe Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed