[zaptel-commits] mattf: branch mattf/zaptel-1.4-stackcleanup r4159 - /team/mattf/zaptel-1.4-st...

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Apr 9 10:29:19 CDT 2008


Author: mattf
Date: Wed Apr  9 10:29:18 2008
New Revision: 4159

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4159
Log:
Remove this code now that we have reduced the stack hopefully enough to compensate for potential overflows

Modified:
    team/mattf/zaptel-1.4-stackcleanup/kernel/wct4xxp/vpm450m.c

Modified: team/mattf/zaptel-1.4-stackcleanup/kernel/wct4xxp/vpm450m.c
URL: http://svn.digium.com/view/zaptel/team/mattf/zaptel-1.4-stackcleanup/kernel/wct4xxp/vpm450m.c?view=diff&rev=4159&r1=4158&r2=4159
==============================================================================
--- team/mattf/zaptel-1.4-stackcleanup/kernel/wct4xxp/vpm450m.c (original)
+++ team/mattf/zaptel-1.4-stackcleanup/kernel/wct4xxp/vpm450m.c Wed Apr  9 10:29:18 2008
@@ -491,13 +491,13 @@
 	 * stack unfriendly.  Stupid, stupid, stupid.  So we disable IRQs so we
 	 * don't run the risk of overflowing the stack while we initialize the
 	 * octasic. */
-#ifdef CONFIG_4KSTACKS
+#if 0
 	local_irq_save(flags);
 #endif
 	ulResult = Oct6100ChipOpen(vpm450m->pApiInstance, ChipOpen);
 	if (ulResult != cOCT6100_ERR_OK) {
 		printk("Failed to open chip, code %08x!\n", ulResult);
-#ifdef CONFIG_4KSTACKS
+#if 0
 		local_irq_restore(flags);
 #endif
 		kfree(vpm450m);
@@ -554,7 +554,7 @@
 		}
 	}
 
-#ifdef CONFIG_4KSTACKS
+#if 0
 	local_irq_restore(flags);
 #endif
 	kfree(ChipOpen);




More information about the zaptel-commits mailing list