[PATCH 0/9] powerpc/pci: clean up direct access to sysdata

Kumar Gala galak at kernel.crashing.org
Thu Apr 30 23:09:59 EST 2009


We shouldn't be accessing sysdata directly.  In the future we might have
sysdata be a device_node on ppc32 to match ppc64.  Direct access would make that
a bit difficult.

If someone can look at the iseries code I would appreciate that:

arch/powerpc/platforms/iseries/pci.c:           iomm_table[current_iomm_table_entry] = dev->sysdata;
arch/powerpc/platforms/iseries/pci.c:                   iseries_ds_addr(dev->sysdata) | (bar_num << 24);
arch/powerpc/platforms/iseries/pci.c:   pdev->sysdata = node;

- k



More information about the Linuxppc-dev mailing list