Nacked-by: Christoph Hellwig hch@lst.de
As explained to you multiple times, pci_p2pdma_map_type is a low-level helper that absolutely MUST be wrapper in proper accessors. It is dangerous when used incorrectly and requires too much boiler plate. There is no way this can be directly exported, and you really need to stop resending this.