[zaptel-commits] sruffell: branch sruffell/zaptel-1.4-transcoder r4204 - /team/sruffell/zaptel...
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Mon Apr 28 15:29:44 CDT 2008
Author: sruffell
Date: Mon Apr 28 15:29:44 2008
New Revision: 4204
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4204
Log:
dte_send_ack may be called from the interrupt handler, and therefore should
use GFP_ATOMIC flags.
Modified:
team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/base.c
Modified: team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/base.c?view=diff&rev=4204&r1=4203&r2=4204
==============================================================================
--- team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/base.c (original)
+++ team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/base.c Mon Apr 28 15:29:44 2008
@@ -1335,7 +1335,7 @@
struct dte_cmd *cmd;
u8 fifo[] = CMD_MSG_ACK(seqno, channel);
- if (!(cmd = alloc_cmd())) {
+ if (!(cmd = alloc_cmd(GFP_ATOMIC, 0))) {
WARN_ON(1);
return;
}
More information about the zaptel-commits
mailing list