[zaptel-commits] mattf: branch 1.4 r2302 - in /branches/1.4: ./ wct4xxp/vpm450m.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Fri Mar 9 13:04:08 MST 2007


Author: mattf
Date: Fri Mar  9 14:04:07 2007
New Revision: 2302

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2302
Log:
Merged revisions 2301 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

........
r2301 | mattf | 2007-03-09 13:59:43 -0600 (Fri, 09 Mar 2007) | 2 lines

Make sure we don't allocate as GFP_KERNEL in atomic context

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/wct4xxp/vpm450m.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/wct4xxp/vpm450m.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wct4xxp/vpm450m.c?view=diff&rev=2302&r1=2301&r2=2302
==============================================================================
--- branches/1.4/wct4xxp/vpm450m.c (original)
+++ branches/1.4/wct4xxp/vpm450m.c Fri Mar  9 14:04:07 2007
@@ -209,7 +209,7 @@
 
 	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;



More information about the zaptel-commits mailing list