projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad75d5a
)
get_free_page() is gone in 2.6
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 4 Aug 2003 18:56:32 +0000
(18:56 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 4 Aug 2003 18:56:32 +0000
(18:56 +0000)
comedi/drivers/dt282x.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/dt282x.c
b/comedi/drivers/dt282x.c
index 79530574aaa70701714c7cdb799ee1c0817faab9..b043852319a378d8f41164203fc01183b137e09a 100644
(file)
--- a/
comedi/drivers/dt282x.c
+++ b/
comedi/drivers/dt282x.c
@@
-1370,8
+1370,8
@@
static int dt282x_grab_dma(comedi_device *dev,int dma1,int dma2)
devpriv->dma[1].chan=dma2;
devpriv->dma_maxsize = PAGE_SIZE;
- devpriv->dma[0].buf = (void *) get_free_page(GFP_KERNEL | GFP_DMA);
- devpriv->dma[1].buf = (void *) get_free_page(GFP_KERNEL | GFP_DMA);
+ devpriv->dma[0].buf = (void *)
__
get_free_page(GFP_KERNEL | GFP_DMA);
+ devpriv->dma[1].buf = (void *)
__
get_free_page(GFP_KERNEL | GFP_DMA);
if (!devpriv->dma[0].buf || !devpriv->dma[1].buf) {
printk(" can't get DMA memory");
return -ENOMEM;