aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/capi/capi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c
index 403bf8fcb285..f8f86602c57e 100644
--- a/drivers/isdn/capi/capi.c
+++ b/drivers/isdn/capi/capi.c
@@ -217,7 +217,7 @@ static struct capiminor *capiminor_alloc(struct capi20_appl *ap, u32 ncci)
217 unsigned int minor = 0; 217 unsigned int minor = 0;
218 unsigned long flags; 218 unsigned long flags;
219 219
220 mp = kzalloc(sizeof(*mp), GFP_ATOMIC); 220 mp = kzalloc(sizeof(*mp), GFP_KERNEL);
221 if (!mp) { 221 if (!mp) {
222 printk(KERN_ERR "capi: can't alloc capiminor\n"); 222 printk(KERN_ERR "capi: can't alloc capiminor\n");
223 return NULL; 223 return NULL;
@@ -358,7 +358,7 @@ static struct capincci *capincci_alloc(struct capidev *cdev, u32 ncci)
358{ 358{
359 struct capincci *np, **pp; 359 struct capincci *np, **pp;
360 360
361 np = kzalloc(sizeof(*np), GFP_ATOMIC); 361 np = kzalloc(sizeof(*np), GFP_KERNEL);
362 if (!np) 362 if (!np)
363 return NULL; 363 return NULL;
364 np->ncci = ncci; 364 np->ncci = ncci;