diff options
Diffstat (limited to 'drivers/usb/mon/mon_text.c')
-rw-r--r-- | drivers/usb/mon/mon_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c index 7a2346c53284..46aecc8754f1 100644 --- a/drivers/usb/mon/mon_text.c +++ b/drivers/usb/mon/mon_text.c | |||
@@ -147,7 +147,7 @@ static void mon_text_event(struct mon_reader_text *rp, struct urb *urb, | |||
147 | stamp = mon_get_timestamp(); | 147 | stamp = mon_get_timestamp(); |
148 | 148 | ||
149 | if (rp->nevents >= EVENT_MAX || | 149 | if (rp->nevents >= EVENT_MAX || |
150 | (ep = kmem_cache_alloc(rp->e_slab, SLAB_ATOMIC)) == NULL) { | 150 | (ep = kmem_cache_alloc(rp->e_slab, GFP_ATOMIC)) == NULL) { |
151 | rp->r.m_bus->cnt_text_lost++; | 151 | rp->r.m_bus->cnt_text_lost++; |
152 | return; | 152 | return; |
153 | } | 153 | } |
@@ -188,7 +188,7 @@ static void mon_text_error(void *data, struct urb *urb, int error) | |||
188 | struct mon_event_text *ep; | 188 | struct mon_event_text *ep; |
189 | 189 | ||
190 | if (rp->nevents >= EVENT_MAX || | 190 | if (rp->nevents >= EVENT_MAX || |
191 | (ep = kmem_cache_alloc(rp->e_slab, SLAB_ATOMIC)) == NULL) { | 191 | (ep = kmem_cache_alloc(rp->e_slab, GFP_ATOMIC)) == NULL) { |
192 | rp->r.m_bus->cnt_text_lost++; | 192 | rp->r.m_bus->cnt_text_lost++; |
193 | return; | 193 | return; |
194 | } | 194 | } |