Commit 9b284ec1 authored by James Bottomley's avatar James Bottomley

update drivers using dma_alloc_[non]coherent for GFP_ flags

parent 02441976
......@@ -246,7 +246,7 @@ NCR_700_detect(Scsi_Host_Template *tpnt,
int j;
memory = dma_alloc_noncoherent(hostdata->dev, TOTAL_MEM_SIZE,
&pScript);
&pScript, GFP_KERNEL);
if(memory == NULL) {
printk(KERN_ERR "53c700: Failed to allocate memory for driver, detatching\n");
return NULL;
......
......@@ -797,7 +797,7 @@ static m_addr_t ___dma_getp(m_pool_s *mp)
dma_addr_t daddr;
vp = (m_addr_t) dma_alloc_coherent(mp->bush,
PAGE_SIZE<<MEMO_PAGE_ORDER,
&daddr);
&daddr, GFP_KERNEL);
if (vp) {
int hc = VTOB_HASH_CODE(vp);
vbp->vaddr = vp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment