summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/isdn_v110.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/isdn_v110.c')
-rw-r--r--drivers/isdn/isdn_v110.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/isdn_v110.c b/drivers/isdn/isdn_v110.c
index 08c54a866..5dd9f2c58 100644
--- a/drivers/isdn/isdn_v110.c
+++ b/drivers/isdn/isdn_v110.c
@@ -102,7 +102,7 @@ isdn_v110_open(unsigned char key, int hdrlen, int maxsize)
int i;
isdn_v110_stream *v;
- if ((v = kmalloc(sizeof(isdn_v110_stream), GFP_KERNEL)) == NULL)
+ if ((v = kmalloc(sizeof(isdn_v110_stream), GFP_ATOMIC)) == NULL)
return NULL;
memset(v, 0, sizeof(isdn_v110_stream));
v->key = key;
@@ -134,7 +134,7 @@ isdn_v110_open(unsigned char key, int hdrlen, int maxsize)
v->b = 0;
v->skbres = hdrlen;
v->maxsize = maxsize - hdrlen;
- if ((v->encodebuf = kmalloc(maxsize, GFP_KERNEL)) == NULL) {
+ if ((v->encodebuf = kmalloc(maxsize, GFP_ATOMIC)) == NULL) {
kfree(v);
return NULL;
}