]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit5993760f7fc75b77e4701f1e56dc84c0d6cf18d5
tree5eda8e0622ae17c84bb1c44763d8e3e07a204773
parent7f2feec140f1f1e4f701e013a2bf8284a9ec2a3c
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