goto cleanup;
                        }
 
-                       p = kmalloc(sg_count[i], GFP_KERNEL|__GFP_DMA);
+                       p = kmalloc(sg_count[i], GFP_KERNEL);
                        if (!p) {
                                rcode = -ENOMEM;
                                goto cleanup;
                                        rcode = -EINVAL;
                                        goto cleanup;
                                }
-                               /* Does this really need to be GFP_DMA? */
-                               p = kmalloc(sg_count[i], GFP_KERNEL|__GFP_DMA);
+
+                               p = kmalloc(sg_count[i], GFP_KERNEL);
                                if(!p) {
                                        dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
                                          sg_count[i], i, upsg->count));
                                        rcode = -EINVAL;
                                        goto cleanup;
                                }
-                               /* Does this really need to be GFP_DMA? */
-                               p = kmalloc(sg_count[i], GFP_KERNEL|__GFP_DMA);
+
+                               p = kmalloc(sg_count[i], GFP_KERNEL);
                                if(!p) {
                                        dprintk((KERN_DEBUG "aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
                                                sg_count[i], i, usg->count));
                                        rcode = -EINVAL;
                                        goto cleanup;
                                }
-                               /* Does this really need to be GFP_DMA? */
-                               p = kmalloc(sg_count[i], GFP_KERNEL|__GFP_DMA);
+                               p = kmalloc(sg_count[i], GFP_KERNEL|GFP_DMA32);
                                if (!p) {
                                        dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
                                                sg_count[i], i, usg->count));
                                        rcode = -EINVAL;
                                        goto cleanup;
                                }
-                               p = kmalloc(sg_count[i], GFP_KERNEL);
+                               p = kmalloc(sg_count[i], GFP_KERNEL|GFP_DMA32);
                                if (!p) {
                                        dprintk((KERN_DEBUG"aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n",
                                          sg_count[i], i, upsg->count));