PCI: fix wrong memory address handling in MSI-X
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 17 Jun 2010 01:42:44 +0000 (10:42 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 30 Jul 2010 16:29:14 +0000 (09:29 -0700)
commit4302e0fb7fa5b071e30f3cfb68e85155b3d69d9b
tree059617eb4f3350ce40cb44c9537dce7a1168e2ea
parent2eb5ebd3665a38a4526b45cb3a31a132b2aa9927
PCI: fix wrong memory address handling in MSI-X

Use resource_size_t for MMIO address instead of unsigned long. Otherwise,
higher 32-bits of MMIO address are cleared unexpectedly in x86-32 PAE.

Acked-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c