static int dma_assign_coherent_memory(struct device *dev, struct dma_coherent_mem *mem) { if (dev->dma_mem) return -EBUSY; dev->dma_mem = mem; /* FIXME: this routine just ignores DMA_MEMORY_INCLUDES_CHILDREN */ return 0; }
メニュー編集
新規作成用