diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-12-06 23:33:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:24 -0500 |
commit | 54e6ecb23951b195d02433a741c7f7cb0b796c78 (patch) | |
tree | c8885c49f37c8d383945b8af69d51597494ed62c /drivers/usb/core | |
parent | f7267c0c0721fd02ad3dc37c3d6dd24ccd81d4d6 (diff) |
[PATCH] slab: remove SLAB_ATOMIC
SLAB_ATOMIC is an alias of GFP_ATOMIC
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/hub.c | 2 | ||||
-rw-r--r-- | drivers/usb/core/message.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 9be41ed1f9a6..0a46acf557ac 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -460,7 +460,7 @@ void usb_hub_tt_clear_buffer (struct usb_device *udev, int pipe) | |||
460 | * since each TT has "at least two" buffers that can need it (and | 460 | * since each TT has "at least two" buffers that can need it (and |
461 | * there can be many TTs per hub). even if they're uncommon. | 461 | * there can be many TTs per hub). even if they're uncommon. |
462 | */ | 462 | */ |
463 | if ((clear = kmalloc (sizeof *clear, SLAB_ATOMIC)) == NULL) { | 463 | if ((clear = kmalloc (sizeof *clear, GFP_ATOMIC)) == NULL) { |
464 | dev_err (&udev->dev, "can't save CLEAR_TT_BUFFER state\n"); | 464 | dev_err (&udev->dev, "can't save CLEAR_TT_BUFFER state\n"); |
465 | /* FIXME recover somehow ... RESET_TT? */ | 465 | /* FIXME recover somehow ... RESET_TT? */ |
466 | return; | 466 | return; |
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index 7390b67c609d..149aa8bfb1fe 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c | |||
@@ -488,7 +488,7 @@ void usb_sg_wait (struct usb_sg_request *io) | |||
488 | int retval; | 488 | int retval; |
489 | 489 | ||
490 | io->urbs [i]->dev = io->dev; | 490 | io->urbs [i]->dev = io->dev; |
491 | retval = usb_submit_urb (io->urbs [i], SLAB_ATOMIC); | 491 | retval = usb_submit_urb (io->urbs [i], GFP_ATOMIC); |
492 | 492 | ||
493 | /* after we submit, let completions or cancelations fire; | 493 | /* after we submit, let completions or cancelations fire; |
494 | * we handshake using io->status. | 494 | * we handshake using io->status. |