[svn-commits] mattf: branch 1.2 r2301 - /branches/1.2/wct4xxp/vpm450m.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Mar 9 12:59:43 MST 2007


Author: mattf
Date: Fri Mar  9 13:59:43 2007
New Revision: 2301

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2301
Log:
Make sure we don't allocate as GFP_KERNEL in atomic context

Modified:
    branches/1.2/wct4xxp/vpm450m.c

Modified: branches/1.2/wct4xxp/vpm450m.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wct4xxp/vpm450m.c?view=diff&rev=2301&r1=2300&r2=2301
==============================================================================
--- branches/1.2/wct4xxp/vpm450m.c (original)
+++ branches/1.2/wct4xxp/vpm450m.c Fri Mar  9 13:59:43 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 svn-commits mailing list