From 24a61b9c810fa598a3aff13356efb5116e9498f1 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 9 Mar 2007 20:05:17 +0000 Subject: Merged revisions 2302 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2302 | mattf | 2007-03-09 14:04:07 -0600 (Fri, 09 Mar 2007) | 10 lines 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 ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2303 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp/vpm450m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wct4xxp') diff --git a/wct4xxp/vpm450m.c b/wct4xxp/vpm450m.c index 4e5fa91..b56c245 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; -- cgit v1.2.3