From: Myron Stowe Date: Fri, 2 Mar 2012 19:45:01 +0000 (-0700) Subject: x86/PCI: add spinlock held check to 'pcibios_fwaddrmap_lookup()' X-Git-Tag: v3.4-rc1~114^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ab387ca0d1576edef35ef68e4b8ea5e0757b7a;p=pandora-kernel.git x86/PCI: add spinlock held check to 'pcibios_fwaddrmap_lookup()' 'pcibios_fwaddrmap_lookup()' is used to maintain FW-assigned BIOS BAR values for reinstatement when normal resource assignment attempts fail and must be called with the 'pcibios_fwaddrmap_lock' spinlock held. This patch adds a WARN_ON notification if the spinlock is not currently held by the caller. Signed-off-by: Myron Stowe Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed