summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-09 19:59:43 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-09 19:59:43 +0000
commitbae16d855660811f218783f9130c1a7d300571f9 (patch)
treeba942d663b365beb042dc92ffe58fd2fd06408f1 /wct4xxp
parentf532530b3eeb59f8e33eaf8c9d3db66c42aee892 (diff)
Make sure we don't allocate as GFP_KERNEL in atomic context
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2301 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/vpm450m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wct4xxp/vpm450m.c b/wct4xxp/vpm450m.c
index a30dacf..ca357d1 100644
--- a/wct4xxp/vpm450m.c
+++ b/wct4xxp/vpm450m.c
@@ -209,7 +209,7 @@ static void vpm450m_setecmode(struct vpm450m *vpm450m, int channel, int mode)
if (vpm450m->ecmode[channel] == mode)
return;
- modify = kmalloc(sizeof(tOCT6100_CHANNEL_MODIFY), GFP_KERNEL);
+ modify = kmalloc(sizeof(tOCT6100_CHANNEL_MODIFY), GFP_ATOMIC);
if (!modify) {
printk("wct4xxp: Unable to allocate memory for setec!\n");
return;