On Fri, Apr 9, 2010 at 2:43 AM, Gomez Castellanos, Ivan <ivan.gomez@xxxxxx> wrote: > diff --git a/drivers/dsp/bridge/wmd/ue_deh.c b/drivers/dsp/bridge/wmd/ue_deh.c > index 75a62b0..6c1b318 100644 > --- a/drivers/dsp/bridge/wmd/ue_deh.c > +++ b/drivers/dsp/bridge/wmd/ue_deh.c > @@ -239,8 +239,8 @@ void bridge_deh_notify(struct deh_mgr *hdeh_mgr, u32 ulEventMask, u32 dwErrInfo) > printk(KERN_INFO > "bridge_deh_notify: DSP_MMUFAULT, fault " > "address = 0x%x\n", (unsigned int)fault_addr); > - dummy_va_addr = > - (u32) mem_calloc(sizeof(char) * 0x1000, MEM_PAGED); > + dummy_va_addr = (u32) kzalloc(sizeof(char) * 0x1000, > + GFP_ATOMIC); sizeof(foo) returns the size of foo in chars, so obviously sizeof(char) is 1. -- Felipe Contreras ��.n��������+%������w��{.n�����{�������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f