]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: utilize calculated results when detecting MSI features
authorJike Song <albcamus@gmail.com>
Tue, 9 Sep 2008 15:42:03 +0000 (23:42 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:53:50 +0000 (10:53 -0700)
commit966e21a29406424b3868ec564474845454140d42
tree5eda8e0622ae17c84bb1c44763d8e3e07a204773
parent045b44fdfa9b46a9970072a32c0a5fa029e55f1b
PCI: utilize calculated results when detecting MSI features

In msi_capability_init, we can make use of the calculated results
instead of calling is_mask_bit_support and is_64bit_address twice.

Signed-off-by: Jike Song <albcamus@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c