diff options
author | Pavel Roskin <proski@gnu.org> | 2007-07-10 02:20:49 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-07-15 12:18:59 -0400 |
commit | a263339e7735496d401c4eb315e2e8549f8ace73 (patch) | |
tree | 6af9887c4a30f762c685dc40d6c7e2329356ec67 | |
parent | ce65e581ea5c1f70e99afb73c3c24152dca6b6f8 (diff) |
[PATCH] Don't use GFP_DMA, it's for ISA devices
GFP_DMA forces allocation in the first 16M of memory, which is not
needed. USB buffers should be using GFP_KERNEL.
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r-- | at76_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -290,7 +290,7 @@ static int at76_usbdfu_download(struct usb_device *udev, u8 *dfu_buffer, return -EINVAL; } - dmabuf = kmalloc(DFU_PACKETSIZE, GFP_KERNEL | GFP_DMA); + dmabuf = kmalloc(DFU_PACKETSIZE, GFP_KERNEL); if (dmabuf == NULL) return -ENOMEM; |