diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2009-07-27 21:03:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-28 23:31:11 +0200 |
commit | b11069f5f6ce6e359f853e908b0917303fcdec8f (patch) | |
tree | 15157b9caf00f8214daa17f4b8445287b7b44e09 /drivers/usb/host/xhci-ring.c | |
parent | USB: xhci: Deal with stalled endpoints. (diff) | |
download | linux-b11069f5f6ce6e359f853e908b0917303fcdec8f.tar.xz linux-b11069f5f6ce6e359f853e908b0917303fcdec8f.zip |
USB: xhci: Use GFP_ATOMIC while holding spinlocks.
The xHCI functions to queue an URB onto the hardware rings must be called
with the xhci spinlock held. Those functions will allocate memory, and
take a gfp_t memory flags argument. We must pass them the GFP_ATOMIC
flag, since we don't want the memory allocation to attempt to sleep while
waiting for more memory to become available.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions