On Thu, 17 Jun 2010 10:42:44 +0900 Kenji Kaneshige <kaneshige.kenji@xxxxxxxxxxxxxx> wrote: > 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. > > Signed-off-by: Kenji Kaneshige <kaneshige.kenji@xxxxxxxxxxxxxx> > > --- > drivers/pci/msi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6.34/drivers/pci/msi.c > =================================================================== > --- linux-2.6.34.orig/drivers/pci/msi.c 2010-06-15 05:33:09.077424885 +0900 > +++ linux-2.6.34/drivers/pci/msi.c 2010-06-15 05:33:26.428484041 +0900 > @@ -435,7 +435,7 @@ > static void __iomem *msix_map_region(struct pci_dev *dev, unsigned pos, > unsigned nr_entries) > { > - unsigned long phys_addr; > + resource_size_t phys_addr; > u32 table_offset; > u8 bir; Applied to linux-next, thanks. -- Jesse Barnes, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html