patch-2.4.0-test2 linux/arch/ia64/kernel/pci-dma.c
Next file: linux/arch/ia64/kernel/pci.c
Previous file: linux/arch/ia64/kernel/palinfo.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Jun 22 07:09:44 2000
- Orig file:
v2.4.0-test1/linux/arch/ia64/kernel/pci-dma.c
- Orig date:
Wed Feb 16 17:03:51 2000
diff -u --recursive --new-file v2.4.0-test1/linux/arch/ia64/kernel/pci-dma.c linux/arch/ia64/kernel/pci-dma.c
@@ -23,8 +23,8 @@
void *ret;
int gfp = GFP_ATOMIC;
- if (!hwdev || hwdev->dma_mask != 0xffffffff)
- gfp |= GFP_DMA;
+ if (!hwdev || hwdev->dma_mask == 0xffffffff)
+ gfp |= GFP_DMA; /* XXX fix me: should change this to GFP_32BIT or ZONE_32BIT */
ret = (void *)__get_free_pages(gfp, get_order(size));
if (ret) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)